mirror of
https://github.com/sigoden/aichat
synced 2024-11-16 06:15:26 +00:00
chore: fix typo
This commit is contained in:
parent
8ab57ed74e
commit
8b75080973
10
README.md
10
README.md
@ -117,7 +117,7 @@ Options:
|
||||
-w, --wrap <WRAP> Control text wrapping (no, auto, <max-width>)
|
||||
--light-theme Use light theme
|
||||
--dry-run Display the message without sending it
|
||||
--info Dispaly information
|
||||
--info Display information
|
||||
--list-models List all available models
|
||||
--list-roles List all available roles
|
||||
--list-sessions List all available sessions
|
||||
@ -241,10 +241,10 @@ auto_copy true
|
||||
keybindings emacs
|
||||
prelude -
|
||||
compress_threshold 2000
|
||||
config_file /home/sigo/.config/aichat/config.yaml
|
||||
roles_file /home/sigo/.config/aichat/roles.yaml
|
||||
messages_file /home/sigo/.config/aichat/messages.md
|
||||
sessions_dir /home/sigo/.config/aichat/sessions
|
||||
config_file /home/alice/.config/aichat/config.yaml
|
||||
roles_file /home/alice/.config/aichat/roles.yaml
|
||||
messages_file /home/alice/.config/aichat/messages.md
|
||||
sessions_dir /home/alice/.config/aichat/sessions
|
||||
```
|
||||
|
||||
### `.model` - choose a model
|
||||
|
@ -10,7 +10,7 @@ complete -c aichat -s H -l no-highlight -d 'Turn off syntax highlighting'
|
||||
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 'Dispaly information'
|
||||
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'
|
||||
|
@ -36,7 +36,7 @@ module completions {
|
||||
--wrap(-w): string # Control text wrapping (no, auto, <max-width>)
|
||||
--light-theme # Use light theme
|
||||
--dry-run # Display the message without sending it
|
||||
--info # Dispaly information
|
||||
--info # Display information
|
||||
--list-models # List all available models
|
||||
--list-roles # List all available roles
|
||||
--list-sessions # List all available sessions
|
||||
|
@ -41,7 +41,7 @@ Register-ArgumentCompleter -Native -CommandName 'aichat' -ScriptBlock {
|
||||
[CompletionResult]::new('--no-stream', '--no-stream', [CompletionResultType]::ParameterName, 'Turns off stream mode')
|
||||
[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, 'Dispaly information')
|
||||
[CompletionResult]::new('--info', '--info', [CompletionResultType]::ParameterName, 'Display information')
|
||||
[CompletionResult]::new('--list-models', '--list-models', [CompletionResultType]::ParameterName, 'List all available models')
|
||||
[CompletionResult]::new('--list-roles', '--list-roles', [CompletionResultType]::ParameterName, 'List all available roles')
|
||||
[CompletionResult]::new('--list-sessions', '--list-sessions', [CompletionResultType]::ParameterName, 'List all available sessions')
|
||||
|
@ -36,7 +36,7 @@ _aichat() {
|
||||
'--no-stream[Turns off stream mode]' \
|
||||
'--light-theme[Use light theme]' \
|
||||
'--dry-run[Display the message without sending it]' \
|
||||
'--info[Dispaly information]' \
|
||||
'--info[Display information]' \
|
||||
'--list-models[List all available models]' \
|
||||
'--list-roles[List all available roles]' \
|
||||
'--list-sessions[List all available sessions]' \
|
||||
|
@ -39,7 +39,7 @@ pub struct Cli {
|
||||
/// Display the message without sending it
|
||||
#[clap(long)]
|
||||
pub dry_run: bool,
|
||||
/// Dispaly information
|
||||
/// Display information
|
||||
#[clap(long)]
|
||||
pub info: bool,
|
||||
/// List all available models
|
||||
|
Loading…
Reference in New Issue
Block a user