English | 简体中文
Le miroir can help you obtain the warehouse you need more conveniently. It is like a mirror, without the need for cloning, it only requires a 'owner/repo' to obtain the target repository, and you can use the 'le' command to use it.
# le-npmirror development with commander requires that you have the commander environment configured locally
# If you do not have the commander module installed locally, you need to install it
npm i-g commander
# install le-npmirror
npm i -g le-npmirror
-
le init
- Generate a new project. -
le mark
- Mark your template -
le list
- List of templates -
le remove
- Eliminating template -
le clear
- Clear the list of templates
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>
- Supports downloading the target warehouse using 'owner/repo' as the addressing method
- Support for marking repositories for later viewing and downloading.
- Support deletion | clearing of local warehouse tag list.