Skip to content

milanovic-dusan/bb-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bb-model

Automate model tasks

oclif Version Downloads/week License

Usage

$ npm install -g @dussan/bb-model
$ bb-model COMMAND
running command...
$ bb-model (-v|--version|version)
@dussan/bb-model/0.2.0 darwin-x64 node-v10.17.0
$ bb-model --help [COMMAND]
USAGE
  $ bb-model COMMAND
...

Commands

bb-model help [COMMAND]

display help for bb-model

USAGE
  $ bb-model help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

bb-model sync

Syncronizes remote model with local.

USAGE
  $ bb-model sync

OPTIONS
  --out-file=out-file                  [default: app-model]
  --portal-auth-path=portal-auth-path  [default: gateway/api/auth/login]
  --portal-context=portal-context      [default: gateway/api]
  --portal-host=portal-host            [default: localhost]
  --portal-name=portal-name            [default: retail-banking-demo-wc3]
  --portal-page-name=portal-page-name  [default: index]
  --portal-password=portal-password    [default: admin]
  --portal-port=portal-port            [default: 8080]
  --portal-protocol=(http|https)       [default: http]
  --portal-username=portal-username    [default: admin]

DESCRIPTION
  ...
  Produces 'app-model.json'.
  Supports .bbconfig file in the current working directory

EXAMPLE
  $ bb-model sync --portal-name=<experience-name>
     ✔ Reading configuration
     ✔ Authenticating
     ✔ Processing model

See code: src/commands/sync.ts