Composer Registry Manager 项目源切换工具开源项目

我要开发同款
匿名用户2017年07月07日
29阅读
开发技术PHP
所属分类应用工具、个人助理软件
授权协议MIT

作品详情

CRM-ComposerRegistryManager

ComposerRegistryManager可以帮助你轻松的在不同的源之间进行切换

安装

通过composer安装 

$ composer global require slince/composer-registry-manager例子列出所有的源$ crm ls  composer       https://packagist.org  phpcomposer    https://packagist.phpcomposer.com* composer-proxy https://packagist.composer-proxy.org

如果你想基于当前项目列出所有源,加上选项 --current/-c 

$ crm ls -c* composer       https://packagist.org  phpcomposer    https://packagist.phpcomposer.com  composer-proxy https://packagist.composer-proxy.org切换源$ crm use phpcomposer

同样的,添加选项 --current/-c 为当前项目修改

可用命令

使用下面命令查看帮助.

$ crm -l _____   _____        ___  ___/  ___| |  _  \      /   |/   || |     | |_| |     / /|   /| || |     |  _  /    / / |__/ | || |___  | | \ \   / /       | |\_____| |_|  \_\ /_/        |_|Composer Registry ManagerUsage:  command [options] [arguments]Options:  -h, --help            Display this help message  -q, --quiet           Do not output any message  -V, --version         Display this application version      --ansi            Force ANSI output      --no-ansi         Disable ANSI output  -n, --no-interaction  Do not ask any interactive question  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debugAvailable commands:  add     Add one custom registry  help    Displays help for a command  list    Lists commands  ls      List all available registries  remove  Delete one custom registry  reset   Reset registry configurations  use     Change current registryLICENSE

TheMITlicense.See MIT

查看全文
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论