1.4.10 • Published 5 years ago
@wavemaker.com/wm-sspa-cli v1.4.10
wm-sspa-cli
A CLI to convert WaveMaker apps to Single-spa compatible app
Usage
npx
The CLI can be invoked directly without installation using npx
&
will ensure it executes the latest version available.
npx @wavemaker.com/wm-sspa-cli
npm
The CLI can be installed using npm
either globally or specific to a project.
- Installing the CLI globally can enable invoking from any location.
npm install @wavemaker.com/wm-sspa-cli --global
wm-sspa-cli
- Install the CLI for a given project & invoke from your package.json
npm install @wavemaker.com/wm-sspa-cli
...
"scripts":{
...
"run_wm":"wm-sspa-cli"
...
}
...
The CLI requires & prompts the user for WaveMaker project path(Exported from WaveMaker) & Deployed URL of the application.
The CLI can optionally take them as paramaters,
-p | --project-path
-d | --deploy-url
npx
npx @wavemaker.com/wm-sspa-cli -p /Users/Tony/wm-sample-app -d https://stark-ind.wavemakeronline.com/wm-sample-app
npm
wm-sspa-cli --project-path /Users/Tony/wm-sample-app --deploy-url https://stark-ind.wavemakeronline.com/wm-sample-app