0.1.1 • Published 1 year ago
@hncjygd/cnopendata-tools v0.1.1
说明
cnopendata-tools 是 cnopendata 的工具集。
小工具
cnopendata-tools
作为主命令:
$ npx cnopendata-tools
Usage: cnopendata-tools [options] [command]
CnOpenData工具集
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
convert-excel [options] [targetPath] 用于将已有的excel添加或者取消CnOpenData格式化选项
help [command] display help for command
convert-excel
$ npx cnopendata-tools help convert-excel
Usage: cnopendata-tools convert-excel [options] [targetPath]
用于将已有的excel添加或者取消CnOpenData格式化选项
Arguments:
targetPath 转换后的Excel文件要保存的文件夹,默认当前文件夹,不过最好指定一个新的文件夹!! (default:当前文件夹")
Options:
-s, --source <string> 要转换的Excel所在的文件夹
--no-format 是否取消格式化
-a --author <string> 指定文档作者,如果有格式默认CnOpenData,否则默认为ExcelJS (default: "CnOpenData")
--sheetname <string> 指定sheetname名称 (default: "CnOpenData")
-t --tag <string> 指定尾行标签,会空一行添加他 (default: "数据来源: CnOpenData")
-h, --help display help for command