Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download

README.md

Lightning CLI

Tooling for Lightning development

Getting Started

Install the Lightning-CLI globally on your system

npm install -g WebPlatformForEmbedded/Lightning-CLI

Usage:

lng <command> [options]

Commands

Overview

Display an overview of all available commands

lng

Create

Create a new Lightning App from scratch

lng create

Build

Build a standalone Lightning App

lng build

Run this command in the root of the Lightning App you want to build

Serve

Serve a built Lightning App in a webbrowser

lng serve

Run this command in the root of the Lightning App you want to serve

Watch

Watch the src folder for changes and rebuild the Lightning App upon every change

lng watch

Run this command in the root of the Lightning App you want to watch

Dev

Spins up a local server to serve a Lightning App and watches for changes

lng dev

Run this command in the root of the Lightning App you want to serve and watch

Docs

Open the Lightning SDK documentation of the App you're developing

lng docs

Run this command in the root of the Lightning App for which you want to see the documentation

Release

Create a release package of a Lightning App

lng release

Run this command in the root of the Lightning App you want to release

Upload

Upload a release package of a Lightning App to the Metrological Back Office

lng upload

Run this command in the root of the Lightning App you want to upload

You can’t perform that action at this time.