This repository has been archived by the owner on Nov 9, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b4726b
commit a103444
Showing
1 changed file
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,46 @@ 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 <[email protected]> | ||
|
||
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 | ||
``` | ||
|
||
**操作指令** | ||
|
||
```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版本,会自动帮你备份 | ||
``` | ||
|
||
|