0.6.4 • Published 19 days ago

@lit-labs/cli v0.6.4

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
19 days ago

@lit-labs/cli

The lit command line tool for Lit.

The Lit CLI is a common place for utilities maintained by the Lit team.

IMPORTANT: ⚠️ @lit-labs/cli is currently available only as a pre-release for early testing. Feel free to try it out, but expect occasional bugs, missing features, and frequent breaking changes! ⚠️

Installation

Install globally, so you can run the lit command anywhere on your system:

npm i -g @lit-labs/cli

Or install into a project, so that the correct version is installed with other dependencies:

cd my-project
npm i -D @lit-labs/cli

Commands

help

Displays a help message with available commands.

Usage

$ lit help

localize

Extract localization messages or build a localized application.

Usage

$ lit localize extract
$ lit localize build

labs gen

Generate framework wrappers.

Usage

$ lit labs gen --framework=react

Flags

FlagDescription
--frameworkFramework(s) to generate wrappers for. Supported frameworks: react, vue. Can be specified multiple times.
--packageFolder(s) containing a package to generate wrappers for. Default: ./. Can be specified multiple times.
--outFolder to output generated packages to. Default: ./gen/
0.6.4

19 days ago

0.6.3

2 months ago

0.6.1-pre.0

7 months ago

0.6.2

6 months ago

0.6.1

7 months ago

0.6.0

9 months ago

0.5.0

12 months ago

0.4.1

1 year ago

0.4.1-pre.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago