@thingjs/cli
v0.9.1
Published
<div align="center"> <a href="https://www.thingjs.com/guide/"><img width="200" src="https://www.thingjs.com/static/images/avatar.png"/></a> </div>
Downloads
5
Readme
@thingjs/cli
@thingjs/cli
is used to create thing.js project and resource templates quickly.
The CLI(@thingjs/cli
) is a globlly installed npm package and provides the thing
command in your terminal. It provides the ability to scaffold a new project via thing create
.
📦 Install
- Global installation of
@thingjs/cli
npm install @thingjs/cli -g
- You can verify that it is properly installed by running this command:
thing -h
And it will show a number of options which means the installation is successful.
📔 Getting Started
To create a new project based on thing.js, run thing create
in a terminal and you will be prompted to name the project. Then You can choose different type of templates to create correspond thing.js project.
$ thing create
? Please enter a project name: test-plugin
? Please pick a preset: Plugin
✔ Download Successful!
You can list the thing.js versions by:
thing list
Also pick the thing.js version by:
thing install
You can also choose a version you know, such as v2.0.2
thing install 2.0.2