LSK.js CLI (Command Line Interface) is the easiest way to create and manage LSK.js project.
$ npx lsk init test3
...waiting...
============= SUCCESS =============
now you should do: cd test3 && npm run dev
$ 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
...
lsk bootstrap
lsk copy FROM TO
lsk help [COMMAND]
lsk info
lsk init PROJECTNAME
lsk link FROM TO
lsk linkall CONFIG
lsk log
lsk run SCRIPT
lsk update
USAGE
$ lsk bootstrap
See code: lib/commands/bootstrap.js
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
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
USAGE
$ lsk info
See code: lib/commands/info.js
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
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
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
USAGE
$ lsk log
See code: lib/commands/log.js
USAGE
$ lsk run SCRIPT
See code: lib/commands/run.js
USAGE
$ lsk update
See code: lib/commands/update.js
Igor Suvorov 💬 💻 🎨 📖 💡 🤔 👀 |