diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-24 07:37:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-24 07:37:50 +0800 |
| commit | bce2dbecb9a3c524bf3cfdc3ab42f0f34729e76b (patch) | |
| tree | 21724487c4a9491e3377d4f019178bfb1a6f43d3 /scripts/completions/aichat.nu | |
| parent | b3bec3cfb0ab75a5dc30dbd55b91e687a3588410 (diff) | |
| download | aichat-bce2dbecb9a3c524bf3cfdc3ab42f0f34729e76b.tar.gz | |
refactor: cli help and shell completions (#642)
Diffstat (limited to 'scripts/completions/aichat.nu')
| -rw-r--r-- | scripts/completions/aichat.nu | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/scripts/completions/aichat.nu b/scripts/completions/aichat.nu index 4a3d189..6c370aa 100644 --- a/scripts/completions/aichat.nu +++ b/scripts/completions/aichat.nu @@ -36,31 +36,31 @@ module completions { # All-in-one chat and copilot CLI that integrates 10+ AI platforms export extern aichat [ - --model(-m): string@"nu-complete aichat model" # Select a LLM model - --prompt # Use the system prompt - --role(-r): string@"nu-complete aichat role" # Select a role - --session(-s): string@"nu-complete aichat role" # Start or join a session - --save-session # Forces the session to be saved - --agent(-a): string@"nu-complete aichat agent" # Start a agent - --rag(-R): string@"nu-complete aichat rag" # Start a RAG - --serve # Serve the LLM API and WebAPP - --execute(-e) # Execute commands in natural language - --code(-c) # Output code only - --file(-f): string # Include files with the message - --no-highlight(-H) # Turn off syntax highlighting - --no-stream(-S) # Turns off stream mode - --wrap(-w): string # Control text wrapping (no, auto, <max-width>) - --light-theme # Use light theme - --dry-run # Display the message without sending it - --info # Display information - --list-models # List all available chat models - --list-roles # List all roles - --list-sessions # List all sessions - --list-agents # List all agents - --list-rags # List all RAGs - ...text: string # Input text - --help(-h) # Print help - --version(-V) # Print version + --model(-m): string@"nu-complete aichat model" # Select a LLM model + --prompt # Use the system prompt + --role(-r): string@"nu-complete aichat role" # Select a role + --session(-s): string@"nu-complete aichat session" # Start or join a session + --save-session # Forces the session to be saved + --agent(-a): string@"nu-complete aichat agent" # Start a agent + --rag(-R): string@"nu-complete aichat rag" # Start a RAG + --serve # Serve the LLM API and WebAPP + --execute(-e) # Execute commands in natural language + --code(-c) # Output code only + --file(-f): string # Include files with the message + --no-stream(-S) # Turn off stream mode + --wrap(-w): string # Control text wrapping (no, auto, <max-width>) + --no-highlight(-H) # Turn off syntax highlighting + --light-theme # Use light theme + --dry-run # Display the message without sending it + --info # Display information + --list-models # List all available chat models + --list-roles # List all roles + --list-sessions # List all sessions + --list-agents # List all agents + --list-rags # List all RAGs + ...text: string # Input text + --help(-h) # Print help + --version(-V) # Print version ] } |
