2.0.0-pr.10 • Published 4 years ago

@bb-cli/bb-watch v2.0.0-pr.10

Weekly downloads
44
License
SEE LICENSE IN LI...
Repository
-
Last release
4 years ago

NAME

bb-watch - Easy to use watcher for backbase widget, extentions, ui components or themes

SYNOPSIS

bb-watch [--help] [-v|--version]
bb-watch project [--help] [-i|--initial-run] [--disable-notifications]
    [--prebuilt <paths>] [-x|--exclude <node glob>] [--exclude-defaults]
    [--ignore-files <paths>] [--disable-default-ignore] [-b|--build-plugins <node_modules>]
    [--portal-protocol <protocol>] [--portal-host <host>] [--portal-port <port>]
    [--portal-context <context>] [--portal-version <version>] [--auth-type <ropc|basic>]
    [--portal-username <username>] [--portal-password <password>] [--portal-auth-path <path>]
    [--ropc-identity-provider <url>] [--ropc-client-id <id>] [--ropc-scope <scope>]
    [--ropc-client-secret <secret>] [watch-directory]

OPTIONS

OptionDescription
-v, --versionoutput the version number
--helpOutput usage information

COMMANDS

NAME

bb-watch project - Easy to use watcher for Backbase widgets, extentions, UI-components and themes

SYNOPSIS

bb-watch project [--help] [-i|--initial-run] [--disable-notifications]
    [--prebuilt <paths>] [-x|--exclude <node glob>] [--exclude-defaults]
    [--ignore-files <paths>] [--disable-default-ignore] [-b|--build-plugins <node_modules>]
    [--portal-protocol <protocol>] [--portal-host <host>] [--portal-port <port>]
    [--portal-context <context>] [--portal-version <version>] [--auth-type <ropc|basic>]
    [--portal-username <username>] [--portal-password <password>] [--portal-auth-path <path>]
    [--ropc-identity-provider <url>] [--ropc-client-id <id>] [--ropc-scope <scope>]
    [--ropc-client-secret <secret>] [watch-directory]

OPTIONS

OptionDescription
-i, --initial-runRun the initial bb-package & bb-import
--disable-notificationsDisables popup notifications
--prebuilt pathsComma separated paths to prebuilt items (items that don't require a webpack build). These will be merged with the defaults (see bb-package)
-x, --exclude node globComma separated paths/globs to ignore. Make sure to wrap globs in single quotes to avoid shell expansion
--exclude-defaultsExclude prebuilt defaults (only used for initial import)
--ignore-files pathsComma separated files to exclude from item packages. Can be node globs, and defaults to '/bower_components/,/node_modules/,/target/'.
--disable-default-ignoreDisable default ignoring from ignore-files (eg: bower_component)
-b, --build-plugins node_modulesComma separated path/node modules to use for building
--portal-protocol <protocol>Protocol of the URL identifying Backbase server
--portal-host <host>Host name of the URL identifying Backbase server
--portal-port <port>Port of the URL identifying Backbase server
--portal-context <context>Application context of the Backbase server
--portal-version <version>Portal version (5, 6, 6.1)
--auth-type <ropc|basic>The type of authentication mechanism to use. The default is "basic" for legacy Backbase Authentication Services, using basic Auth. Use "ropc" for Backbase Identity and Access Management (or other compatible Identity Provider. See the online Backbase Documentation for more details.
--portal-username <username>Username
--portal-password <password>Password
--portal-auth-path <path>Authorization path (for basic auth only)
--ropc-identity-provider <url>Full URL of the identity provider for ROPC auth
--ropc-client-id <id>A unique string that was used when registering the CLI as a client
--ropc-scope <scope>The scope of the access request
--ropc-client-secret <secret>Usually optional, a secret/password assigned to the client in the Identity Provider config when the CLI was registered as a client
--helpOutput usage information

EXAMPLES

Watch current directory:

  $ bb-watch project

Watch current directory, and do an initial import of the whole project:

  $ bb-watch project -i

Disable notifications:

  $ bb-watch project -i --disable-notifications

Configure bb-package & bb-import:

  $ bb-watch project ./statics --exclude-defaults --portal-port 8080

ENVIRONMENT VARIABLES

Set the amount of log output

LOG_LEVEL=silly|verbose|info|warn|error

Set whether or not to use colors in output

COLOR=false|true