npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

This version has been deprecated

Author message:

Please use >=1.0.5

@bearer/cli

0.58.8 • Public • Published

@bearer/cli

Bearer CLI

oclif Version

CircleCI

Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g @bearer/cli
$ bearer COMMAND
running command...
$ bearer (-v|--version|version)
@bearer/cli/0.58.8 linux-x64 node-v10.6.0
$ bearer --help [COMMAND]
USAGE
  $ bearer COMMAND
...

Commands

bearer autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ bearer autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ bearer autocomplete
  $ bearer autocomplete bash
  $ bearer autocomplete zsh
  $ bearer autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

bearer deploy

Deploy a scenario

USAGE
  $ bearer deploy

OPTIONS
  -h, --help          show CLI help
  -i, --intents-only  Deploy intents only
  -s, --views-only    Deploy views only

See code: src/commands/deploy.ts

bearer generate

Generate Intent or Component

USAGE
  $ bearer generate

OPTIONS
  -h, --help   show CLI help
  --path=path
  --silent

See code: src/commands/generate/index.ts

bearer generate:component [NAME]

Generate a Bearer component

USAGE
  $ bearer generate:component [NAME]

OPTIONS
  -h, --help                        show CLI help
  -t, --type=blank|collection|root
  --path=path
  --silent

See code: src/commands/generate/component.ts

bearer generate:intent [NAME]

Generate a Bearer Intent

USAGE
  $ bearer generate:intent [NAME]

OPTIONS
  -h, --help                      show CLI help
  -t, --type=fetch|save|retrieve
  --path=path
  --silent

See code: src/commands/generate/intent.ts

bearer help [COMMAND]

display help for bearer

USAGE
  $ bearer help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

bearer invoke INTENT_NAME

Invoke Intent locally

USAGE
  $ bearer invoke INTENT_NAME

OPTIONS
  -h, --help       show CLI help
  -p, --path=path

See code: src/commands/invoke.ts

bearer link SCENARIO_IDENTIFIER

Link your local scenario to a remote one

USAGE
  $ bearer link SCENARIO_IDENTIFIER

OPTIONS
  -h, --help   show CLI help
  --path=path
  --silent

See code: src/commands/link.ts

bearer login

Login to Bearer platform

USAGE
  $ bearer login

OPTIONS
  -e, --email=email
  -h, --help         show CLI help
  --path=path
  --silent

See code: src/commands/login.ts

bearer new [SCENARIONAME]

Generate a new scenario

USAGE
  $ bearer new [SCENARIONAME]

OPTIONS
  -a, --authType=OAUTH2|BASIC|APIKEY|NONE  Authorization type
  -h, --help                               show CLI help
  --path=path
  --silent

See code: src/commands/new.ts

bearer start

Start local development environment

USAGE
  $ bearer start

OPTIONS
  -h, --help    show CLI help
  --no-install
  --no-open

See code: src/commands/start.ts

bearer update [CHANNEL]

update the bearer CLI

USAGE
  $ bearer update [CHANNEL]

See code: @oclif/plugin-update

Keywords

install

npm i @bearer/cli

Downloadsweekly downloads

569

version

0.58.8

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability