sjorek / composer-silent-command-plugin
一个用于无声运行命令的composer插件,不会修改它们的退出码。
v0.0.5
2017-10-27 15:36 UTC
Requires
- php: ^7.0
- composer-plugin-api: ^1.1
Requires (Dev)
- composer/composer: ^1.5
- friendsofphp/php-cs-fixer: ^2.7
- phpunit/phpunit: ^6.4
This package is not auto-updated.
Last update: 2024-09-29 04:26:00 UTC
README
一个composer-plugin,用于无声运行命令,而不会篡改它们的退出码。
安装
方法1:作为包依赖(推荐!)
php composer.phar require [--dev] sjorek/composer-silent-command-plugin
方法2:全局安装,使其在所有包中可用
php composer.phar global require sjorek/composer-silent-command-plugin
文档
$ php composer.phar help silent Usage: silent <command-name> [<args>]... Arguments: command-name args 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 --profile Display timing and memory usage information --no-plugins Whether to disable plugins. -d, --working-dir=WORKING-DIR If specified, use the given directory as working directory. -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug Help: Use this command as a wrapper to run other Composer commands super silently, without tampering with their exit-code. The only way to get output, is to enable the debug option.
贡献
查看贡献指南
想要更多吗?
有一个虚拟环境composer-plugin与这个composer-plugin相辅相成。