0.3.0 • Published 3 years ago

@zcong/excel v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

excel

excel tools

oclif Version Downloads/week License

Usage

$ npm install -g @zcong/excel
$ excel COMMAND
running command...
$ excel (-v|--version|version)
@zcong/excel/0.3.0 darwin-x64 node-v15.9.0
$ excel --help [COMMAND]
USAGE
  $ excel COMMAND
...

Commands

excel help [COMMAND]

display help for excel

USAGE
  $ excel help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

excel to-excel INPUTFILE

json 转为 excel

USAGE
  $ excel to-excel INPUTFILE

ARGUMENTS
  INPUTFILE  json data file

OPTIONS
  -h, --help       show CLI help
  -n, --name=name  [default: Sheet 1] sheet name
  -o, --out=out    (required) output file name

See code: src/commands/to-excel.ts

excel to-json EXCELFILE

转换 Excel 为 json

USAGE
  $ excel to-json EXCELFILE

ARGUMENTS
  EXCELFILE  input excel file path

OPTIONS
  -a, --all            if export all sheets
  -c, --column=column  if only pick one column
  -h, --help           show CLI help
  -i, --index=index    sheet index
  -n, --name=name      sheet name

See code: src/commands/to-json.ts