diff --git a/README.md b/README.md index 3734046..7779f1b 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,36 @@ tale命令行帮助程序 ```bash cd tale wget http://7xls9k.dl1.z0.glb.clouddn.com/tale-cli +chmod +x tale-cli +``` + +**帮助** + +```bash +NAME: + tale - tale的命令行帮助程序 + +USAGE: + tale-cli [global options] command [command options] [arguments...] + +VERSION: + 0.0.1 + +AUTHOR: + https://github.com/biezhi + +COMMANDS: + start 启动tale + stop 停止当前tale实例 + reload 重新启动当前tale实例 + log 查看当前tale日志 + status 查看当前tale状态 + upgrade 升级当前的tale版本 + help, h Shows a list of commands or help for one command + +GLOBAL OPTIONS: + --help, -h show help + --version, -v print the version ``` **操作指令** @@ -16,8 +46,9 @@ wget http://7xls9k.dl1.z0.glb.clouddn.com/tale-cli ```bash ./tale-cli start : 启动tale ./tale-cli stop : 停止tale实例 +./tale-cli reload : 重启tale实例 ./tale-cli log : 查看当前tale日志 -./tale-cli status: 查看当前tale状态 +./tale-cli status: 查看当前tale运行状态 ./tale-cli upgrade: 升级tale版本,会自动帮你备份 ```