diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-13 19:41:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-13 19:41:54 +0800 |
| commit | f9847475b8eae99a70f16dc63bac67da2632474a (patch) | |
| tree | 032c9eb02540cf8644a2df103d8a45dfc54557be /scripts/completions/aichat.fish | |
| parent | 255b194bcc538b2557caa60c5b607b4c4bfc0abd (diff) | |
| download | aichat-f9847475b8eae99a70f16dc63bac67da2632474a.tar.gz | |
feat: add rag and bot related cli options (#595)
Diffstat (limited to 'scripts/completions/aichat.fish')
| -rw-r--r-- | scripts/completions/aichat.fish | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/completions/aichat.fish b/scripts/completions/aichat.fish index 9da7391..d05b4e6 100644 --- a/scripts/completions/aichat.fish +++ b/scripts/completions/aichat.fish @@ -2,9 +2,11 @@ complete -c aichat -s m -l model -x -a "(aichat --list-models)" -d 'Select a LLM complete -c aichat -l prompt -d 'Use the system prompt' complete -c aichat -s r -l role -x -a "(aichat --list-roles)" -d 'Select a role' -r complete -c aichat -s s -l session -x -a"(aichat --list-sessions)" -d 'Start or join a session' -r +complete -c aichat -l save-session -d 'Forces the session to be saved' +complete -c aichat -s b -l bot -x -a"(aichat --list-bots)" -d 'Start a bot' -r +complete -c aichat -l rag -x -a"(aichat --list-rags)" -d 'Start a RAG' -r complete -c aichat -s f -l file -d 'Include files with the message' -r -F complete -c aichat -s w -l wrap -d 'Control text wrapping (no, auto, <max-width>)' -complete -c aichat -l save-session -d 'Forces the session to be saved' complete -c aichat -l serve -d 'Serve the LLM API and WebAPP' complete -c aichat -s e -l execute -d 'Execute commands in natural language' complete -c aichat -s c -l code -d 'Output code only' @@ -14,7 +16,9 @@ complete -c aichat -l light-theme -d 'Use light theme' complete -c aichat -l dry-run -d 'Display the message without sending it' complete -c aichat -l info -d 'Display 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 -l list-roles -d 'List all roles' +complete -c aichat -l list-sessions -d 'List all sessions' +complete -c aichat -l list-bots -d 'List all bots' +complete -c aichat -l list-rags -d 'List all RAGs' complete -c aichat -s h -l help -d 'Print help' complete -c aichat -s V -l version -d 'Print version' |
