db-tables CLI
This is a CLI tool developed by J2 Innovations, to export .trio templates from an Excel file (.xlsx).
Getting started
To install this library globally run...
npm install -g @j2inn/db-tables-cli
Usage
You can use the help option to discover commands and parameters.
$ db-tables -h
Usage: db-tables [options] [command]
A J2 Innovations CLI tool to export Excel (.xlsx) DB Tables as trio files
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
sheets <file> list the worksheets in the .xlsx file
export <file> <sheet> export a DB table from an .xlsx sheet as a trio file; sheet param can be the name or the id (run the `sheets` command to discover the id)
export-all <file> export all the DB tables from an .xlsx sheet as trio files
help [command] display help for command