Skip to content

Latest commit

 

History

History
96 lines (68 loc) · 2.65 KB

README.en-US.md

File metadata and controls

96 lines (68 loc) · 2.65 KB

@pureadmin/cli

Quickly build cli for pure-admin related projects

NPM version

English | 简体中文

pure-admin-cli

🏠 Template Type

Template Type Github Address
admin vue-pure-admin complete version
thin vue-pure-admin non-internationalized streamlined version
i18n vue-pure-admin internationalized simplified version
tauri vue-pure-admin tauri version
electron vue-pure-admin electron version

📦 Global Install

npm install -g @pureadmin/cli
# or
yarn global add @pureadmin/cli
# or
pnpm add -g @pureadmin/cli

🚀 Global Upgrade

npm update -g @pureadmin/cli
# or
yarn global upgrade --latest @pureadmin/cli
# or
pnpm up --latest -g @pureadmin/cli

⛽ Global Uninstall

npm uninstall -g @pureadmin/cli
# or
yarn global remove @pureadmin/cli
# or
pnpm remove -g @pureadmin/cli

⚙️ Usage

pure init template type project name

pure init thin myproject

Interactively select templates and create projects

pure create

Of course, you can also choose to create a project without installing @pureadmin/cli

npx @pureadmin/cli init thin myproject
# or
npx @pureadmin/cli create

🔎 More Commands

Check version, can also be used to check whether @pureadmin/cli was successfully installed

pure -v

Similar to the picture below, it means the installation is successful

pure-v

More help information

pure -h

pure-h

License

MIT © 2022-present, pure-admin