npm

Need private packages and team management tools?Check out npm Orgs. »

guardrails

1.0.2 • Public • Published

guardrails-cli

GuardRails CLI

oclif Version Downloads/week License

Usage

$ npm install -g guardrails
$ guardrails COMMAND
running command...
$ guardrails (-v|--version|version)
guardrails/1.0.2 linux-x64 node-v11.6.0
$ guardrails --help [COMMAND]
USAGE
  $ guardrails COMMAND
...

Commands

guardrails auth CLITOKEN

add or update cliToken

USAGE
  $ guardrails auth CLITOKEN

ARGUMENTS
  CLITOKEN  Account's cliToken from GuardRails dashboard

EXAMPLE
  $ guardrails auth CLITOKEN

See code: src/commands/auth.js

guardrails help [COMMAND]

display help for guardrails

USAGE
  $ guardrails help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

guardrails scan

trigger scanning for current directory

USAGE
  $ guardrails scan

OPTIONS
  -d, --dir=dir      [default: /home/metr1ckzu/Documents/guardrails-cli]
  -j, --json         print only report as json
  -x, --extended     show extra columns
  -z, --zip          use zipped version of codebase for scan
  --columns=columns  only show provided columns (comma-separated)
  --csv              output is csv format
  --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
  --sort=sort        property to sort by (prepend '-' for descending)

EXAMPLES
  $ guardrails scan
  $ guardrails scan --zip
  $ guardrails scan --help

See code: src/commands/scan.js

Keywords

install

npm i guardrails

Downloadsweekly downloads

7

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability