oluijks / gizmo
此包已被放弃,不再维护。未建议替换包。
Gizmo 控制台应用程序
1.1.0
2015-12-14 08:55 UTC
Requires
- php: >=5.5.9
- guzzlehttp/guzzle: ^6.1
- herrera-io/phar-update: ^2.0
- ifsnop/mysqldump-php: ^2.1
- illuminate/database: ^5.1
- symfony/console: ^3.0
- symfony/filesystem: ^3.0
- symfony/finder: ^3.0
- symfony/process: ^3.0
This package is not auto-updated.
Last update: 2020-01-22 02:06:35 UTC
README
Gizmo 控制台应用程序。
这是我每天使用的(不完整)工具集合。如果您缺少某些要添加的命令,请随意分支或给我留言。
全局安装(手动)
$ wget http://oluijks.github.io/gizmo/downloads/gizmo-1.1.1.phar -O gizmo
或使用 curl
$ curl http://oluijks.github.io/gizmo/downloads/gizmo-1.1.1.phar -o gizmo
然后
$ sudo chmod 0770 gizmo && mv gizmo /usr/local/bin/gizmo
然后,只需运行 gizmo
全局更新(手动)
您可以通过此命令更新 gizmo
$ sudo gizmo self-update
制作此软件使用的组件
- Symfony 控制台组件 (https://github.com/symfony/console)
- Symfony 进程组件 (https://github.com/symfony/process)
- Symfony 文件系统组件 (https://github.com/symfony/filesystem)
- Illuminate 数据库 (https://github.com/illuminate/database)
- MySQLDump - PHP (https://github.com/ifsnop/mysqldump-php)
- Guzzle,一个可扩展的 PHP HTTP 客户端 (https://github.com/guzzle/guzzle)
- Phar Update (https://github.com/kherge-abandoned/php-phar-update)
帮助
Gizmo Console Application version 1.1.1
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:
help Displays help for a command
list Lists commands
db
db:dump Dumps a MySQL database
db:list Lists MySQL databases
download
download:magento2 Grabs the latest magento2 source
download:wordpress Grabs the latest wordpress source
gizmo
gizmo:about Short information about Gizmo
gizmo:make-command Makes a new gizmo command
gizmo:update Updates gizmo.phar to the latest version
webserver
webserver:make-nginx-vhost Makes a new nginx vhost file
webserver:mysql:restart Restarts MySQL
webserver:nginx:restart Restarts Engine-X
webserver:php5-fpm:restart Restarts PHP5-FPM
webserver:status Webserver status
许可协议
Gizmo 是开源软件,采用 MIT 许可协议