From b3bec3cfb0ab75a5dc30dbd55b91e687a3588410 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sun, 23 Jun 2024 23:09:47 +0800 Subject: refactor: cli options and shell completions (#640) --- scripts/completions/aichat.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/completions/aichat.fish') diff --git a/scripts/completions/aichat.fish b/scripts/completions/aichat.fish index d57f29d..4a926c9 100644 --- a/scripts/completions/aichat.fish +++ b/scripts/completions/aichat.fish @@ -3,8 +3,8 @@ 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 agent -x -a"(aichat --list-agents)" -d 'Start a agent' -r -complete -c aichat -l rag -x -a"(aichat --list-rags)" -d 'Start a RAG' -r +complete -c aichat -s a -l agent -x -a"(aichat --list-agents)" -d 'Start a agent' -r +complete -c aichat -s R -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, )' complete -c aichat -l serve -d 'Serve the LLM API and WebAPP' -- cgit v1.2.3