Skip to content

Latest commit

 

History

History
82 lines (57 loc) · 1.61 KB

README_zh.md

File metadata and controls

82 lines (57 loc) · 1.61 KB

le-miroir

English | 简体中文

Le miroir 可以帮助您更方便地获得您需要的仓库。它就像一个镜像,不需要克隆,它只需要一个 'owner/repo' 来获取目标存储库,你可以使用 'le' 命令来使用它。


Install

# le-npmirror 采用 commander 开发,所以需要您本地已配置 commander 环境
# 如果您本地未安装 commander 模块,需要进行安装
npm i -g commander

# install le-npmirror
npm i -g le-npmirror

Options

  • le init - 生成你的本地项目。
  • le create - 模板标记列表。
  • le list - 模板列表。
  • le remove - 删除列表项。
  • le clear - 清空列表。

Usage

INIT
// Method 1
// eg: le init inblossoms/le-npmirror mirror[local folder name]
le init owner/repo project-name

// Method 2
// eg: le init mirror[your mark template] inblossoms/le-npmirror
le init template-index-name project-name

MARK
le mark

# ? Please mark your warehouse: <Template index name>
# ? Please enter the warehouse address: <owner/repo>

REMOVE
le remove

# ? Remove the name of the repository you want to delete: <Template index name>

Feature

  • 支持使用 'owner/repo' 作为寻址方法下载目标仓库
  • 支持标记存储库以供以后查看和下载。
  • 支持删除 | 清除本地仓库列表项。

License

MIT