docs: 添加 tmux 使用说明到 help
This commit is contained in:
10
main.go
10
main.go
@@ -116,7 +116,15 @@ func printHelp() {
|
||||
示例:
|
||||
ainovel-cli "写一部科幻小说,主角是时间旅行者"
|
||||
NOVEL_NAME=时空之旅 ainovel-cli "写一部科幻小说"
|
||||
ainovel-cli # 启动 TUI 交互模式`)
|
||||
ainovel-cli # 启动 TUI 交互模式
|
||||
|
||||
tmux 使用(推荐后台运行):
|
||||
tmux new -s novel # 新建名为 novel 的会话
|
||||
ainovel-cli "写一部科幻小说" # 在会话中运行,关闭终端不中断
|
||||
Ctrl+b d # 脱离会话(程序继续跑)
|
||||
tmux attach -t novel # 随时回来查看进度
|
||||
tmux ls # 列出所有会话
|
||||
tmux kill-session -t novel # 结束会话`)
|
||||
}
|
||||
|
||||
func loadReferences(style string) tools.References {
|
||||
|
||||
Reference in New Issue
Block a user