summaryrefslogtreecommitdiffstats
path: root/scripts/completions/aichat.zsh
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-20 21:07:30 +0800
committerGitHub <noreply@github.com>2024-04-20 21:07:30 +0800
commit8ab57ed74ea67d3f023aa0fcd695cb107b676501 (patch)
tree3047e4efdc24f66b30a9df30058695b757e2c342 /scripts/completions/aichat.zsh
parent5d763fc10c4e3d40268ead473ccb0000b4923bd1 (diff)
downloadaichat-8ab57ed74ea67d3f023aa0fcd695cb107b676501.tar.gz
refactor: update description for cli options and config fields (#423)
Diffstat (limited to 'scripts/completions/aichat.zsh')
-rw-r--r--scripts/completions/aichat.zsh42
1 files changed, 21 insertions, 21 deletions
diff --git a/scripts/completions/aichat.zsh b/scripts/completions/aichat.zsh
index 83ad751..b14bd74 100644
--- a/scripts/completions/aichat.zsh
+++ b/scripts/completions/aichat.zsh
@@ -15,28 +15,28 @@ _aichat() {
local context curcontext="$curcontext" state line
local common=(
-'-m+[Choose a LLM model]:MODEL:->models' \
-'--model=[Choose a LLM model]:MODEL:->models' \
-'-r+[Choose a role]:ROLE:->roles' \
-'--role=[Choose a role]:ROLE:->roles' \
-'-s+[Create or reuse a session]:SESSION:->sessions' \
-'--session=[Create or reuse a session]:SESSION:->sessions' \
-'*-f+[Attach files to the message]:FILE:_files' \
-'*--file=[Attach files to the message]:FILE:_files' \
-'-w+[Specify the text-wrapping mode (no, auto, <max-width>)]:WRAP: ' \
-'--wrap=[Specify the text-wrapping mode (no, auto, <max-width>)]:WRAP: ' \
-'--save-session[Whether to save the session]' \
-'-e[Execute commands using natural language]' \
-'--execute[Execute commands using natural language]' \
-'-c[Generate only code]' \
-'--code[Generate only code]' \
-'-H[Disable syntax highlighting]' \
-'--no-highlight[Disable syntax highlighting]' \
-'-S[No stream output]' \
-'--no-stream[No stream output]' \
+'-m+[Select a LLM model]:MODEL:->models' \
+'--model=[Select a LLM model]:MODEL:->models' \
+'-r+[Select a role]:ROLE:->roles' \
+'--role=[Select a role]:ROLE:->roles' \
+'-s+[Start or join a session]:SESSION:->sessions' \
+'--session=[Start or join a session]:SESSION:->sessions' \
+'*-f+[Include files with the message]:FILE:_files' \
+'*--file=[Include files with the message]:FILE:_files' \
+'-w+[Control text wrapping (no, auto, <max-width>)]:WRAP: ' \
+'--wrap=[Control text wrapping (no, auto, <max-width>)]:WRAP: ' \
+'--save-session[Forces the session to be saved]' \
+'-e[Execute commands in natural language]' \
+'--execute[Execute commands in natural language]' \
+'-c[Output code only]' \
+'--code[Output code only]' \
+'-H[Turn off syntax highlighting]' \
+'--no-highlight[Turn off syntax highlighting]' \
+'-S[Turns off stream mode]' \
+'--no-stream[Turns off stream mode]' \
'--light-theme[Use light theme]' \
-'--dry-run[Run in dry run mode]' \
-'--info[Print related information]' \
+'--dry-run[Display the message without sending it]' \
+'--info[Dispaly information]' \
'--list-models[List all available models]' \
'--list-roles[List all available roles]' \
'--list-sessions[List all available sessions]' \