Install the Lightning-CLI globally on your system
npm install -g WebPlatformForEmbedded/Lightning-CLIUsage:
lng <command> [options]Display an overview of all available commands
lngCreate a new Lightning App from scratch
lng createBuild a standalone Lightning App
lng buildRun this command in the root of the Lightning App you want to build
Serve a built Lightning App in a webbrowser
lng serveRun this command in the root of the Lightning App you want to serve
Watch the src folder for changes and rebuild the Lightning App upon every change
lng watchRun this command in the root of the Lightning App you want to watch
Spins up a local server to serve a Lightning App and watches for changes
lng devRun this command in the root of the Lightning App you want to serve and watch
Open the Lightning SDK documentation of the App you're developing
lng docsRun this command in the root of the Lightning App for which you want to see the documentation
Create a release package of a Lightning App
lng releaseRun this command in the root of the Lightning App you want to release
Upload a release package of a Lightning App to the Metrological Back Office
lng uploadRun this command in the root of the Lightning App you want to upload
If you want to contribute to the Lightning-CLI, please consider the following:
- the master branch is the latest stable release
- the dev branch is used for upcoming releases
- all development should be done in dedicated topic branches (from latest
dev-branch) - please send in your PR against the
dev-branch