
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
custorm-cm-cli
Advanced tools
npm install cm-vcli -g
or
git clone https://github.com/Michael-lzg/cm-cli.git
cd cm-cli && npm install
npm link
Open your terminal and type cm -h
, you'll see the help infomation below:
Usage: cm <command>
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
add add a new template
delete delete a template
list List the templateList
init init a project
This command would help you to add a new template to the templates.json
, which will be used by cm
to init projects.
$ cm add
? 请输入模板名称 admin
? 请输入模板地址 https://github.com/Michael-lzg/vue-ant-template.git
√ Add a template successfully!
The latest templateList is:
┌───────┬─────────────────────────────────────────────────────┐
│ name │ url │
├───────┼─────────────────────────────────────────────────────┤
│ app │ https://github.com/Michael-lzg/vue-cli4-vant.git │
├───────┼─────────────────────────────────────────────────────┤
│ admin │ https://github.com/Michael-lzg/vue-ant-template.git │
└───────┴─────────────────────────────────────────────────────┘
To delete a template, you could use this command:
$ cm delete
? 请输入要删除的模板名称 admin
? 请输入要删除的模板名称 admin
√ Deleted successfully!
The latest templateList is:
┌──────┬──────────────────────────────────────────────────┐
│ name │ url │
├──────┼──────────────────────────────────────────────────┤
│ app │ https://github.com/Michael-lzg/vue-cli4-vant.git │
└──────┴──────────────────────────────────────────────────┘
This command will shows you the templates list.
$ cm list
┌──────┬──────────────────────────────────────────────────┐
│ name │ url │
├──────┼──────────────────────────────────────────────────┤
│ app │ https://github.com/Michael-lzg/vue-cli4-vant.git │
└──────┴──────────────────────────────────────────────────┘
You can init a templates use this command
cm init app project
FAQs
a react cli
The npm package custorm-cm-cli receives a total of 0 weekly downloads. As such, custorm-cm-cli popularity was classified as not popular.
We found that custorm-cm-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.