BackBase-CLI
Backbase tool for widgets / modules
Information
name | version | node |
---|
backbase | 0.0.3 | >= 0.10 |
Requirements
Install
npm i backbase -g
Usage
Generate widget/module:
arguments:
- url 'https://stash.backbase.com/scm/lp/widget-ng-template.git'
options:
NONE
backbase generate <url>
Install bower dependencies:
arguments:
NONE
options:
NONE
backbase install
arguments:
NONE
options:
- l --link auto link dependencies (if they are already linked)
backbase start
Test:
arguments:
NONE
options:
- w --watch watch
backbase test
Build:
arguments:
NONE
options:
- s --skipTests skips unit tests
backbase build
Register: Register bower package to registry endpoint
arguments:
registry - registry url default is http://launchpad.backbase.com:5678
options:
NONE
backbase register
Unregister: Unregister bower package to registry endpoint
arguments:
registry - registry url default is http://launchpad.backbase.com:5678
options:
NONE
backbase unregister
Configuration under the bower.json file
"config": {
"paths" : {
"scripts": "./scripts",
"docs": "./docs",
"target": "./dist",
"templates": "./templates",
"styles": "./styles",
"test": "./test",
"index": "./index-dev.html"
},
"proxies": {
"/api": "http://localhost:3030/"
}
....
}
TODO:
Commands
- bb docs (generate documentation)
- bb import (import to portal)
- bb bump (bump the verion)
- bb package (generate a zip package from dist folder)
Output
- better output
- use debug flag
Test