JSPM

@loopback/cli

2.10.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2991
  • Score
    100M100P100Q109597F
  • License MIT

Yeoman generator for LoopBack 4

Package Exports

  • @loopback/cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@loopback/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@loopback/cli

This module contains the official CLI for LoopBack 4.

Installation

Run the following command to install the CLI.

$ npm install -g @loopback/cli

Basic Use

Run lb4 --commands or lb4 -l to list all available commands:

$ lb4 -l

Use the option --help to learn more about any specific command:

$ lb4 model --help

Run lb4 or lb4 app to scaffold a new LoopBack 4 project.

$ lb4 app
? Project name: my-awesome-app
(etc.)

Use lb4 --version (or lb4 -v) to print out version information to include in bug reports, for example:

$ lb4 -v
@loopback/cli version: 1.8.1

@loopback/* dependencies:
  - @loopback/authentication: ^1.0.14
  - @loopback/boot: ^1.0.14
  - @loopback/build: ^1.3.1
  - @loopback/context: ^1.6.0
  - @loopback/core: ^1.1.7
  - (etc.)

See CLI reference for a detailed documentation.

Contributions

Tests

run npm test from the root folder.

Contributors

See all contributors.

License

MIT