Skip to content

arcthetype/arc-cli

This branch is 1 commit ahead of master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

da84251 · Sep 21, 2021

History

28 Commits
Nov 15, 2019
Nov 14, 2019
Feb 21, 2020
Nov 16, 2019
Feb 22, 2020
Feb 21, 2020
Nov 15, 2019
Nov 6, 2019
Nov 15, 2019
Nov 15, 2019
Nov 6, 2019
Feb 21, 2020
Nov 9, 2019
Nov 16, 2019
Feb 22, 2020
Sep 21, 2021

Repository files navigation

GitHub package.json version GitHub

快速搭建项目的工具

  • 支持github以组织的形式维护模板, 仓库名以-project或-template为后缀
  • 支持gitlab以组的形式维护模板,仓库名以-project或-template为后缀
  • 项目中不包含本地模板,将提供默认模板与github
  • 暂不支持打包,构建等
  • 。。。

安装

npm i -g arc-tool

支持以下命令

# 根据key值查询配置
arc config get <key>
# 设置配置
arc config set <key> <value>
# 以json格式展示所有配置
arc config ls
# 根据key值删除配置
arc config flush <key>
# 清空配置
arc config flushall

# 创建项目
arc create [projectName]

# 配置自己的模板源
# github  [获取代码方式clone,download]::[托管平台]::[api地址]::[组织名]
arc config set repo clone::github::https://api.github.com::arcthetype
# gitlab [托管平台]::[api地址]::[组名]::[private_token]
arc config set repo clone::gitlab::[公司或个人的gitlab域名]::arcthetype::[private_token]

MIT License

Copyright (c) 2019 HRD