mirror of
https://github.com/spf13/cobra
synced 2025-05-05 21:07:24 +00:00
Untranspose __custom_func in docs table
This commit is contained in:
parent
beaa4630e5
commit
2e00cabe43
1 changed files with 4 additions and 4 deletions
|
@ -26,9 +26,9 @@ The `BashCompletionFunction` member can be used to define bash functions which g
|
||||||
|
|
||||||
|
|
||||||
| Function | Runs always | Runs when no earlier handler produced completion results |
|
| Function | Runs always | Runs when no earlier handler produced completion results |
|
||||||
| ------- | ----------- | -------------------------------------------------------- |
|
| ------------------------------- | ------------------------------------- | -------------------------------------------------------- |
|
||||||
| **Runs for Command** | `__custom_unconditional_command_func` | `__custom_command_func` |
|
| **Runs for Command** | `__custom_unconditional_command_func` | `__custom_command_func` |
|
||||||
| **Runs for Command & children** | `__custom_func` | `__custom_unconditional_func` |
|
| **Runs for Command & children** | `__custom_unconditional_func` | `__custom_func` |
|
||||||
|
|
||||||
Some more actual code that works in kubernetes:
|
Some more actual code that works in kubernetes:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue