Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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 1 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.