Small tool to convert .xlsx to csv steam (or json)
$ excel2csvjson -h
excel2csvjson 0.1.1
bingxiao
Convert excel to csv
USAGE:
excel2csvjson [FLAGS] [OPTIONS] <path>
FLAGS:
-f, --first process the 1st if multiple sheets were found. Or use '--sheet' to clarify
-h, --help Prints help information
-J, --json output in JSON instead <experimental>
-P, --pretty Enable pretty printing
-V, --version Prints version information
-v, --verbosity Pass many times for more log output
OPTIONS:
--sheet <sheet> Which sheet to convert
ARGS:
<path> Which excel to convert
Many thanks to all these decent rust libraries:
- quicli - CLI app builder
- calamine - Excel file reader
- csv - CSV manipulator
- serde_json - Strongly typed JSON library
and Rust of course.