@jsenv/cli
v0.2.23
Published
Command Line Interface for jsenv
Downloads
1,262
Readme
@jsenv/cli
@jsenv/cli is a NPM package meant to run via the command below:
npx @jsenv/cli
npx
command is installed with Node.js. If you don't have it you must install Node.js.
The command init jsenv in a directory. It can be a new directory or an existing one.
> npx @jsenv/cli
Welcome in jsenv CLI
? Enter a directory: ›
Then you'll be prompted to select a template.
> npx @jsenv/cli
✔ Enter a directory: › demo
? Select a template: › - Use arrow-keys. Return to submit.
❯ web
web-components
web-react
web-preact
node-package
A template is a project pre-configured with jsenv.
Selecting "web" would init template-web/:
> npx @jsenv/cli
✔ Enter a directory: › demo
✔ Select a template: › web
✔ init jsenv in "[...]/demo/" (done in 0.01 second)
----- 3 commands to run -----
cd demo
npm install
npm start
-----------------------------