@amazeelabs/silverback-tools
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

silverback-tools

Silverback CLI tools for scripted project maintenance.

oclif Build status Coverage Maintainability Version Downloads/week License

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

Readme

Keywords

Package Sidebar

Install

npm i @amazeelabs/silverback-tools

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

10.4 kB

Total Files

14

Last publish

Collaborators

  • amazeelabs