summaryrefslogtreecommitdiffstats
path: root/scripts/completions/aichat.fish
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/completions/aichat.fish')
-rw-r--r--scripts/completions/aichat.fish18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/completions/aichat.fish b/scripts/completions/aichat.fish
new file mode 100644
index 0000000..1169cd6
--- /dev/null
+++ b/scripts/completions/aichat.fish
@@ -0,0 +1,18 @@
+complete -c aichat -s m -l model -x -a "(aichat --list-models)" -d 'Choose a LLM model' -r
+complete -c aichat -s r -l role -x -a "(aichat --list-roles)" -d 'Choose a role' -r
+complete -c aichat -s s -l session -x -a"(aichat --list-sessions)" -d 'Create or reuse a session' -r
+complete -c aichat -s f -l file -d 'Attach files to the message' -r -F
+complete -c aichat -s w -l wrap -d 'Specify the text-wrapping mode (no, auto, <max-width>)'
+complete -c aichat -l save-session -d 'Whether to save the session'
+complete -c aichat -s e -l execute -d 'Execute commands using natural language'
+complete -c aichat -s c -l code -d 'Generate only code'
+complete -c aichat -s H -l no-highlight -d 'Disable syntax highlighting'
+complete -c aichat -s S -l no-stream -d 'No stream output'
+complete -c aichat -l light-theme -d 'Use light theme'
+complete -c aichat -l dry-run -d 'Run in dry run mode'
+complete -c aichat -l info -d 'Print related information'
+complete -c aichat -l list-models -d 'List all available models'
+complete -c aichat -l list-roles -d 'List all available roles'
+complete -c aichat -l list-sessions -d 'List all available sessions'
+complete -c aichat -s h -l help -d 'Print help'
+complete -c aichat -s V -l version -d 'Print version'