fux/fux-cli
最新稳定版本:0.1.3
Composer 安装命令:
composer require fux/fux-cli
包简介
A CLI tool that help development process using Fux Framework
README 文档
README
PHP command-line tool for a better development process
Usage as executable
You can use this CLI tool just by build downloading the ./dist/fux-cli.phar file or building it from scratch executing the following command
php phar-composer-1.4.0.phar build . dist
If you don't know that phar-composer is, just check the official repository at https://github.com/clue/phar-composer.
Then to make the CLI tool globally accessible you can just move it in your bin folder with the following command
cp dist/fux-cli.phar /usr/local/bin/fux
It is not recommended to use it as composer dependency in your project, instead copy the fux.phar file inside your project root.
Commands
All you need to do is call the one of the following commands
Database commands
fux db:iam {name}
Allow you to set your name/nickname for the current project. This name will be used for all vcs files that you create
using fux db:vcs command.
fux db:vcs [filename]
This command create an SQL file in the database vcs directory of the project with the following format
./db/vcs/{Y-m-d}/{H_i_s}_{filename}.sql where the {filename} placeholder can be the filename argument or the {name}
argument passed to fux db:iam command. It's recommended to execute db:iam command the first time, so that you can
execute fux db:vcs without additional arguments.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-09-23
