https://github.com/lskjs/cli
Command line interface helpers for LSK.js project creation
https://github.com/lskjs/cli
Last synced: about 1 month ago
JSON representation
Command line interface helpers for LSK.js project creation
- Host: GitHub
- URL: https://github.com/lskjs/cli
- Owner: lskjs
- License: mit
- Created: 2021-02-07T14:04:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-17T14:07:56.000Z (about 3 years ago)
- Last Synced: 2025-02-18T02:19:25.435Z (11 months ago)
- Language: JavaScript
- Size: 13.7 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# LSK.js – CLI
> LSK.js CLI (Command Line Interface) is the easiest way to create and manage LSK.js project.
[](https://github.com/lskjs)
[](https://www.npmjs.com/package/@lskjs/cli)
[](https://www.npmjs.com/package/@lskjs/cli)
[](https://bundlephobia.com/result?p=@lskjs/cli)
[](https://www.npmjs.com/package/@lskjs/cli)
[](https://bundlephobia.com/result?p=@lskjs/cli)
[](https://bundlephobia.com/result?p=@lskjs/cli)
[](https://github.com/cli/lskjs/blob/master/LICENSE)
[](https://t.me/lskjschat)
* [LSK.js – CLI](#lskjs--cli)
* [Quick start](#quick-start)
* [Usage](#usage)
* [Commands](#commands)
# Quick start
```sh-session
$ npx lsk init test3
...waiting...
============= SUCCESS =============
now you should do: cd test3 && npm run dev
```

# Usage
```sh-session
$ npm install -g @lskjs/cli
$ lsk COMMAND
running command...
$ lsk (-v|--version|version)
@lskjs/cli/3.0.0-alpha.6 darwin-arm64 node-v19.3.0
$ lsk --help [COMMAND]
USAGE
$ lsk COMMAND
...
```
# Commands
* [`lsk bootstrap`](#lsk-bootstrap)
* [`lsk copy FROM TO`](#lsk-copy-from-to)
* [`lsk help [COMMAND]`](#lsk-help-command)
* [`lsk info`](#lsk-info)
* [`lsk init PROJECTNAME`](#lsk-init-projectname)
* [`lsk link FROM TO`](#lsk-link-from-to)
* [`lsk linkall CONFIG`](#lsk-linkall-config)
* [`lsk log`](#lsk-log)
* [`lsk run SCRIPT`](#lsk-run-script)
* [`lsk update`](#lsk-update)
## `lsk bootstrap`
```
USAGE
$ lsk bootstrap
```
_See code: [lib/commands/bootstrap.js](https://github.com/lskjs/cli/blob/v3.0.0-alpha.6/lib/commands/bootstrap.js)_
## `lsk copy FROM TO`
Recursive incremental copy dirs with rsync
```
USAGE
$ lsk copy FROM TO
OPTIONS
-g, --git=git include .git folder
-n, --nodemodules=nodemodules include node_modules folder
DESCRIPTION
...
```
_See code: [lib/commands/copy.js](https://github.com/lskjs/cli/blob/v3.0.0-alpha.6/lib/commands/copy.js)_
## `lsk help [COMMAND]`
Display help for lsk.
```
USAGE
$ lsk help [COMMAND]
ARGUMENTS
COMMAND Command to show help for.
OPTIONS
-n, --nested-commands Include all nested commands in the output.
```
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_
## `lsk info`
```
USAGE
$ lsk info
```
_See code: [lib/commands/info.js](https://github.com/lskjs/cli/blob/v3.0.0-alpha.6/lib/commands/info.js)_
## `lsk init PROJECTNAME`
Init new LSK.js project
```
USAGE
$ lsk init PROJECTNAME
OPTIONS
-t, --template=template An example to bootstrap the app with. You can use an example name from the LSK.js repo or a
GitHub URL. The URL can use any branch and/or subdirectory.
DESCRIPTION
...
Extra documentation goes here
```
_See code: [lib/commands/init.js](https://github.com/lskjs/cli/blob/v3.0.0-alpha.6/lib/commands/init.js)_
## `lsk link FROM TO`
Recursive watching and incremental copy dirs with rsync
```
USAGE
$ lsk link FROM TO
OPTIONS
-g, --git=git include .git folder
-n, --nodemodules=nodemodules include node_modules folder
DESCRIPTION
...
```
_See code: [lib/commands/link.js](https://github.com/lskjs/cli/blob/v3.0.0-alpha.6/lib/commands/link.js)_
## `lsk linkall CONFIG`
Recursive watching and incremental copy dirs with rsync
```
USAGE
$ lsk linkall CONFIG
OPTIONS
-g, --git=git include .git folder
-n, --nodemodules=nodemodules include node_modules folder
DESCRIPTION
...
```
_See code: [lib/commands/linkall.js](https://github.com/lskjs/cli/blob/v3.0.0-alpha.6/lib/commands/linkall.js)_
## `lsk log`
```
USAGE
$ lsk log
```
_See code: [lib/commands/log.js](https://github.com/lskjs/cli/blob/v3.0.0-alpha.6/lib/commands/log.js)_
## `lsk run SCRIPT`
```
USAGE
$ lsk run SCRIPT
```
_See code: [lib/commands/run.js](https://github.com/lskjs/cli/blob/v3.0.0-alpha.6/lib/commands/run.js)_
## `lsk update`
```
USAGE
$ lsk update
```
_See code: [lib/commands/update.js](https://github.com/lskjs/cli/blob/v3.0.0-alpha.6/lib/commands/update.js)_
## Contributors ✨