mirror

command module
v0.0.0-...-6c61b0c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2020 License: MIT Imports: 18 Imported by: 0

README

Mirror

Packagist mirror

Install

go get -u github.com/wudi/mirror

Usage

mirror -h                                                                                                                                         [5f82231]
NAME:
   mirror - a packagist mirror tool

USAGE:
   mirror [global options] command [command options] [arguments...]

DESCRIPTION:
   For create packagist mirror

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   -c value                Number of multiple requests to make at a time (default: 30)
   -a value                Number of attempt times (default: 5)
   -i value                Interval (default: 60)
   --mirror value          Mirror url (default: "https://packagist.org")
   --proxy value           Set proxy for request. eg: http://ip:port
   --timeout value         timeout (default: 30s)
   --redis-host value      Redis server hostname (default: "127.0.0.1")
   --redis-port value      Redis server port (default: 6379)
   --redis-password value  Password to use when connecting to the server
   --data-dir value        Data dir (default: "./data")
   --dist-url value        dist url (default: "/dists/%package%/%reference%.%type%")
   --metadata-url value    MetadataURL (default: "/p2/%package%.json")
   --providers-url value   ProvidersURL (default: "/p/%package%$%hash%.json")
   --dump                  dump all json (default: false)
   -v                      Verbose (default: false)
   --help, -h              show help (default: false)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL