le-npmirror

1.0.8 • Public • Published

le-miroir

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.


Install

# 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

Options

  • 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

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

  • 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.

License

MIT

Package Sidebar

Install

npm i le-npmirror

Weekly Downloads

2

Version

1.0.8

License

ISC

Unpacked Size

4.35 kB

Total Files

9

Last publish

Collaborators

  • inblossoms