The xlsx-import Command Line Interface
See original GitHub issueThe xlsx-import-cli
package
We have cli for renderer, now we should add cli for the import. I blocked this issue earlier, because I was doubts about setting mappers in json
config file - however it isn’t a problem if we use js
files.
Usage:
# basic
cat invoice.xlsx > sxi config.js > result.json
sxi config.js invoice.xlsx > result.json
sxi -o result.json config.js invoice.xlsx
#more advanced (todo)
cat invoice.xlsx > sxi config.js | sxr template.xlsx > refreshed-invoice.xlsx
Requirements
- Added into ./packages/xlsx-import-cli
- NPM package name: sxi (reserved on npm)
- The interface:
sxi [-o <output-file.json>] <import-config.js> [input-file.xlsx]
. Theinput-file.xlsx
isnt required if comes in sdtin. - Should be able to pipe with
sxr
(xlsx-renderer-cli). - Please add into main Readme.md
- Please to make documentation
Additional info:
- May been inspired by
xlsx-renderer-cli
- It will be nice to able cover it in 100% percent.
After
- Create project
xlsx-import-cli
for handling tasks targeting to it. - Create an issue for adding TS files support (as suggested @Metastasis)
- Create an issue for adding support for JSON files (as suggested @Metastasis)
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
XLSX Import - Command Line Interface | Siemienik Paweł
Command line interface for xlsx-import. Configurable import spreadsheet files with TS types support. Part of XToolset - collection of tools makes handling ...
Read more >Exporting and importing Excel with command - Visual Paradigm
To import Excel to a project through command line: Browse the scripts folder under the Visual Paradigm installation directory. For Mac users, ...
Read more >Command Line Interface CLI for Batch import of Excel to MySQL
Supports all Excel versions and doesn't require Microsoft Office install. You can import any of the following extensions (.xls, .xlsx, ..xlsm, xlw, .xla,...
Read more >Import App Data using Command Line Interface (CLI)
Our latest addition to the Command Line Interface will allow you to import everything from your current spreadsheets and automatically create ...
Read more >xlsx - npm
Start using xlsx in your project by running `npm i xlsx`. ... is the command-line tool included with node installations, reading spreadsheet ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Siemienik Ok, sounds good. Then rest part of the issue I think is clear
Xlsx-import-cli
v0.0.1-alpha1
released! Feel welcome to test alpha version 🚀