Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @wavemaker/wm-sspa-cli with all npm packages installed. Try it out:

var wmSspaCli = require("@wavemaker/wm-sspa-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@wavemaker/wm-sspa-cli v1.0.0

A CLI to convert WaveMaker apps to Single-Spa compatible apps

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/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/wm-sspa-cli --global
wm-sspa-cli
  • Install the CLI for a given project & invoke from your package.json
npm install @wavemaker/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/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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free