@sdelements/tart v0.1.0-alpha.1
tart
A tool to load, save and publish db snapshots
Usage
$ npm install -g @sdelements/tart
$ tart COMMAND
running command...
$ tart (-v|--version|version)
@sdelements/tart/0.1.0-alpha.1 darwin-x64 node-v14.16.1
$ tart --help [COMMAND]
USAGE
$ tart COMMAND
...
Commands
tart autocomplete [SHELL]
tart available
tart delete DELETEFILE
tart fetch FILE
tart help [COMMAND]
tart init
tart list
tart load INPUT
tart publish FILE
tart save OUTPUT
tart unpublish FILE
tart autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ tart autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ tart autocomplete
$ tart autocomplete bash
$ tart autocomplete zsh
$ tart autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
tart available
lists available dumps
USAGE
$ tart available
OPTIONS
-c, --config=config [default: ./tart.config.json] Path to configuration file
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort [default: tag] property to sort by (prepend '-' for descending)
EXAMPLE
$ tart available
See code: src/commands/available.ts
tart delete DELETEFILE
delete a local database dump
USAGE
$ tart delete DELETEFILE
ARGUMENTS
DELETEFILE name of file to delete
OPTIONS
-c, --config=config [default: ./tart.config.json] Path to configuration file
EXAMPLES
$ tart delete myDB
$ tart delete myDB@1.0.0
See code: src/commands/delete.ts
tart fetch FILE
fetch specified dump file from a remote repository
USAGE
$ tart fetch FILE
ARGUMENTS
FILE name of the file
OPTIONS
-c, --config=config [default: ./tart.config.json] Path to configuration file
EXAMPLE
$ tart fetch filename
See code: src/commands/fetch.ts
tart help [COMMAND]
display help for tart
USAGE
$ tart help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
tart init
Initializes tart for this project
USAGE
$ tart init
OPTIONS
-c, --config=config [default: ./tart.config.json] Path to configuration file
EXAMPLES
$ tart init
Config file found at home/tart.config.js
$ tart init
A config file will be created, continue? [y/n]
$ tart init -c /some-folder/tart.config.json
Config file found at home/tart/some-folder/tart.config.json
See code: src/commands/init.ts
tart list
lists available dumps
USAGE
$ tart list
OPTIONS
-c, --config=config [default: ./tart.config.json] Path to configuration file
EXAMPLE
$ tart list
See code: src/commands/list.ts
tart load INPUT
load database from dump
USAGE
$ tart load INPUT
ARGUMENTS
INPUT name of input file
OPTIONS
-c, --config=config [default: ./tart.config.json] Path to configuration file
EXAMPLE
$ tart load myDB
See code: src/commands/load.ts
tart publish FILE
publish specified dump file to a remote repository
USAGE
$ tart publish FILE
ARGUMENTS
FILE name of the file
OPTIONS
-c, --config=config [default: ./tart.config.json] Path to configuration file
EXAMPLE
$ tart publish filename
See code: src/commands/publish.ts
tart save OUTPUT
save current database to dump
USAGE
$ tart save OUTPUT
ARGUMENTS
OUTPUT name of output file
OPTIONS
-c, --config=config [default: ./tart.config.json] Path to configuration file
EXAMPLE
$ tart save myDB
See code: src/commands/save.ts
tart unpublish FILE
unpublish specified database dump from a remote repository
USAGE
$ tart unpublish FILE
ARGUMENTS
FILE name of the file
OPTIONS
-c, --config=config [default: ./tart.config.json] Path to configuration file
EXAMPLE
$ tart unpublish myDB@1.0.0
See code: src/commands/unpublish.ts
3 years ago
3 years ago