jjpmann/php-hosts-manager
最新稳定版本:v0.0.10
Composer 安装命令:
composer require jjpmann/php-hosts-manager
包简介
PHP CLI for managing local hosts file
关键字:
README 文档
README
PHP CLI for managing local hosts file
using https://gist.github.com/mikeflynn/4278796
install
composer require jjpmann/php-hosts-manager
or global
composer global require jjpmann/php-hosts-manager
quick intro
Hosts Manager version 0.5
Usage:
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 debug
Available commands:
add Add domain/host to hosts file.
check Check to see if domain/host exists in host file
help Displays help for a command
list Lists commands
remove Remove domain/host from hosts file.
rollback Reverts the last change.
update Update domain/host in hosts file.
ToDo
Stop "Add" when host existsAdd Tests- Add some features
统计信息
- 总下载量: 175
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-19