@latticejs/clap
Create Lattice App, the CLI for bootstraping your upcoming lattice app.
Last updated 2 months ago by rahulgarg30591 .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @latticejs/clap -g
SYNC missed versions from official npm registry.

CLAP

Create Lattice App

Install

:warning: Lattice is currently being released using the beta channel. This means you should consider adding the @beta tag to point to the latest versions when installing.

npm install -g @latticejs/clap@beta

Usage

$ clap myLaticceApp
cd myLaticceApp
npm start

This will create a copy of basic running on http://localhost:3000.

Commands

example

example [options] <example-name> | e [options] <example-name>

Choose a specific lattice example to bootstrap your project.

Eg:

$ clap example basic myDemo

Options

-b <branch_name>, --branch=<branch_name>

Set a branch from latticejs repo. This option will try to download the example from branch_name. See https://github.com/latticejs/lattice/branches.

Eg:

$ clap example -b feature/add-new-example new-example myDemo

list

list | ls

List all the available lattice examples.

Eg:

$ clap ls

Options

-b <branch_name>, --branch=<branch_name>

Lists all examples from @latticejs branch_name. See https://github.com/latticejs/lattice/branches.

Eg:

$ clap ls -b feature/other-example

FAQs

Current Tags

  • 1.0.1-alpha.12                                ...           alpha (2 years ago)
  • 1.0.1-beta.1                                ...           beta (2 years ago)
  • 1.0.1-beta.3                                ...           latest (2 months ago)

8 Versions

  • 1.0.1-beta.3                                ...           2 months ago
  • 1.0.1-beta.2                                ...           5 months ago
  • 1.0.1-beta.1                                ...           2 years ago
  • 1.0.1-beta.0                                ...           2 years ago
  • 1.0.1-alpha.12                                ...           2 years ago
  • 1.0.1-alpha.7                                ...           2 years ago
  • 1.0.1-alpha.6                                ...           2 years ago
  • 1.0.1-alpha.5                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 1
Dependencies (8)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |