mirror of
https://github.com/sigoden/aichat
synced 2024-11-16 06:15:26 +00:00
19 lines
1.2 KiB
Fish
19 lines
1.2 KiB
Fish
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'
|