From b965c63be05c726c996ece298d6f5f2514a19316 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 17 Jun 2024 19:54:24 +0800 Subject: refactor: minor improvement (#611) --- scripts/completions/aichat.fish | 2 +- scripts/completions/aichat.nu | 2 +- scripts/completions/aichat.ps1 | 2 +- scripts/completions/aichat.zsh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/completions') diff --git a/scripts/completions/aichat.fish b/scripts/completions/aichat.fish index d05b4e6..8761b1d 100644 --- a/scripts/completions/aichat.fish +++ b/scripts/completions/aichat.fish @@ -15,7 +15,7 @@ complete -c aichat -s S -l no-stream -d 'Turns off stream mode' 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-models -d 'List all available chat models' 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' diff --git a/scripts/completions/aichat.nu b/scripts/completions/aichat.nu index ec4b083..c09626b 100644 --- a/scripts/completions/aichat.nu +++ b/scripts/completions/aichat.nu @@ -53,7 +53,7 @@ module completions { --light-theme # Use light theme --dry-run # Display the message without sending it --info # Display information - --list-models # List all available models + --list-models # List all available chat models --list-roles # List all roles --list-sessions # List all sessions --list-bots # List all bots diff --git a/scripts/completions/aichat.ps1 b/scripts/completions/aichat.ps1 index 093f53f..cf6cdd4 100644 --- a/scripts/completions/aichat.ps1 +++ b/scripts/completions/aichat.ps1 @@ -47,7 +47,7 @@ Register-ArgumentCompleter -Native -CommandName 'aichat' -ScriptBlock { [CompletionResult]::new('--light-theme', '--light-theme', [CompletionResultType]::ParameterName, 'Use light theme') [CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Display the message without sending it') [CompletionResult]::new('--info', '--info', [CompletionResultType]::ParameterName, 'Display information') - [CompletionResult]::new('--list-models', '--list-models', [CompletionResultType]::ParameterName, 'List all available models') + [CompletionResult]::new('--list-models', '--list-models', [CompletionResultType]::ParameterName, 'List all available chat models') [CompletionResult]::new('--list-roles', '--list-roles', [CompletionResultType]::ParameterName, 'List all roles') [CompletionResult]::new('--list-sessions', '--list-sessions', [CompletionResultType]::ParameterName, 'List all sessions') [CompletionResult]::new('--list-bots', '--list-bots', [CompletionResultType]::ParameterName, 'List all bots') diff --git a/scripts/completions/aichat.zsh b/scripts/completions/aichat.zsh index ae39481..b57b575 100644 --- a/scripts/completions/aichat.zsh +++ b/scripts/completions/aichat.zsh @@ -42,7 +42,7 @@ _aichat() { '--light-theme[Use light theme]' \ '--dry-run[Display the message without sending it]' \ '--info[Display information]' \ -'--list-models[List all available models]' \ +'--list-models[List all available chat models]' \ '--list-roles[List all roles]' \ '--list-sessions[List all sessions]' \ '--list-bots[List all bots]' \ -- cgit v1.2.3