@thing.js/cli
TypeScript icon, indicating that this package has built-in type declarations

1.2.17 • Public • Published
     
    

@thing.js/cli

@thing.js/cli is used to create thing.js project and resource templates quickly.

The CLI(@thing.js/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.You can also manage your projects using a GUI via thing ui.

  • command line: thing create
  • GUI: thing ui

Presets

Thing CLI provides these three kinds of templates to create a new project:

  • Project
    • Simple (html template)
    • Framework(Vue2.x, Vue3.x, React)
  • Resource
    • Plugin (plugin)
    • Prefab (prefab)
  • Common
    • Dev Base

📦 Install

  1. Global installation of @thing.js/cli
npm install @thing.js/cli -g
  1. 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!

Successfully created project: test-plugin!!
Get started with the following commands: 

cd test-plugin
npm i
npm run dev

Readme

Keywords

none

Package Sidebar

Install

npm i @thing.js/cli

Weekly Downloads

0

Version

1.2.17

License

ISC

Unpacked Size

13.6 kB

Total Files

10

Last publish

Collaborators

  • xuchengyin
  • jinggang85
  • zhangjialiang
  • uino_thingjs