@amazeelabs/silverback-tools
v1.2.0
Published
Silverback CLI tools for scripted project maintenance.
Downloads
5
Readme
silverback-tools
Silverback CLI tools for scripted project maintenance.
Usage
$ npm install -g @amazeelabs/silverback-tools
$ svbt COMMAND
running command...
$ svbt (-v|--version|version)
@amazeelabs/silverback-tools/1.2.0 linux-x64 node-v12.16.3
$ svbt --help [COMMAND]
USAGE
$ svbt COMMAND
...
Commands
svbt help [COMMAND]
display help for svbt
USAGE
$ svbt help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
svbt yaml [FILE] [DATA]
Store YAML data into target file.
USAGE
$ svbt yaml [FILE] [DATA]
OPTIONS
-h, --help show CLI help
DESCRIPTION
Store YAML data into target file.
Automatically changes output format based on file extension:
.yml -> YAML
.yaml -> YAML
.json -> formatted JSON
If the target file already exists, the content is merged using lodash merge:
https://lodash.com/docs/#merge
EXAMPLE
$ svbt yaml test.yml "name: foo"
See code: src/commands/yaml.ts