Functions
generate_bash_completion
1
str
▼
Generate bash completion script.
generate_bash_completion
1
str
▼
def generate_bash_completion(cli: CLI) -> str
Parameters
| Name | Type | Description |
|---|---|---|
cli |
CLI |
Returns
str
generate_zsh_completion
1
str
▼
Generate zsh completion script.
generate_zsh_completion
1
str
▼
def generate_zsh_completion(cli: CLI) -> str
Parameters
| Name | Type | Description |
|---|---|---|
cli |
CLI |
Returns
str
generate_fish_completion
1
str
▼
Generate fish completion script.
generate_fish_completion
1
str
▼
def generate_fish_completion(cli: CLI) -> str
Parameters
| Name | Type | Description |
|---|---|---|
cli |
CLI |
Returns
str
generate_powershell_completion
1
str
▼
Generate PowerShell completion script.
generate_powershell_completion
1
str
▼
def generate_powershell_completion(cli: CLI) -> str
Parameters
| Name | Type | Description |
|---|---|---|
cli |
CLI |
Returns
str
_collect_completions
1
dict[str, dict[str, Any]]
▼
Collect command names, flags, and descriptions for completions.
_collect_completions
1
dict[str, dict[str, Any]]
▼
def _collect_completions(cli: CLI) -> dict[str, dict[str, Any]]
Parameters
| Name | Type | Description |
|---|---|---|
cli |
CLI |
Returns
dict[str, dict[str, Any]]
install_completions
2
str
▼
Generate completion script for the specified shell.
If shell is empty, auto-de…
install_completions
2
str
▼
def install_completions(cli: CLI, shell: str = '') -> str
Generate completion script for the specified shell.
If shell is empty, auto-detects from $SHELL.
Parameters
| Name | Type | Description |
|---|---|---|
cli |
CLI |
|
shell |
str |
Default:''
|
Returns
str