Command Line Interface (CLI) to support Single Page Application(js) framework.
npm install -g spa-cli
#USAGE:
spa-cli appName
OR
spa-cli appName --new
spa-cli appName componentName
OR
spa-cli appName componentName --new
OR
spa-cli appName/componentName
OR
spa-cli appName/componentName --new
spa-cli appName componentX,componentY
OR
spa-cli appName componentX,componentY --new
OR
spa-cli appName/componentX,componentY
OR
spa-cli appName/componentX,componentY --new
spa-cli appName --zip
spa-cli appName --update
###Requires live-server (run install command as root/Administrator)
npm install -g live-server
To start LiveServer for an app, use --start option at the end of spa-cli command.
Example:
spa-cli appName --start
Along with --start option use --ch OR --chrome OR --ff OR --firefox OR --ie OR --iexplore to open respective browser.
Example:
spa-cli appName --start --ch
spa-cli appName --start --chrome
spa-cli appName --start --ff
spa-cli appName --start --firefox
spa-cli appName --start --ie
spa-cli appName --start --iexplore