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
7bc1733
commit fee3c08
Showing
6 changed files
with
37 additions
and
122 deletions.
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 |
---|---|---|
|
@@ -20,55 +20,29 @@ tale命令行帮助程序 🌟 | |
|
||
## 安装 | ||
|
||
**linux_64位** | ||
|
||
```bash | ||
cd tale | ||
wget http://static.biezhi.me/tale-cli | ||
chmod +x tale-cli | ||
``` | ||
目前二进制文件存储在仓库 `bin` 目录,等发布版本后会提供一个在线下载地址。 | ||
|
||
## 帮助 | ||
|
||
```bash | ||
# tale-cli | ||
|
||
NAME: | ||
tale - tale的命令行帮助程序 | ||
» ./tale-cli | ||
|
||
USAGE: | ||
tale-cli [global options] command [command options] [arguments...] | ||
Tale 博客程序帮助工具 | ||
|
||
VERSION: | ||
0.0.2 | ||
Github: https://github.com/otale/tale | ||
|
||
AUTHOR: | ||
https://github.com/biezhi <[email protected]> | ||
Usage: | ||
tale-cli command [arguments] | ||
|
||
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 upgrade: 升级tale版本,会自动帮你备份 | ||
Available commands: | ||
backup 备份 Tale 博客 | ||
log 查看 Tale 博客日志 | ||
restart 重启 Tale 博客 | ||
start 启动 Tale 博客 | ||
status 查看 Tale 博客运行状态 | ||
stop 停止 Tale 博客 | ||
upgrade 升级 Tale 博客 | ||
``` | ||
|
||
> 备份的文件在当前目录下形如 `tale_backup_201709109281.zip` | ||
> 备份的文件在当前目录下形如 `backup_201709109281.zip` | ||
Binary file not shown.
Binary file not shown.
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
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