Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eric-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eric-cli

eric-cli simple

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

一个cli的例子

使用了commander,download-git-repo两个包,做了一个简单的示例

拉取目标模板,添加了一个branch的参数,如 eric-cli -b master设置一个分支参数

下载的存放目录暂做固定tmp目录,可以做更改

本地启动,参数说明

# -s 为github路径
node ./eric-cli.js -s Chaoleer/e-vue-ssr

# 安装后,以下同理
eric-cli -s Chaoleer/e-vue-ssr

# 指定分支
node ./eric-cli.js -s Chaoleer/e-vue-ssr -b develop

# 指定download-git-repo包是否使用clone
node ./eric-cli.js -s Chaoleer/e-vue-ssr -b develop -c

FAQs

Package last updated on 21 May 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc