Skip to content

Commit

Permalink
Update CLI autocompletion docs with new Click syntax
Browse files Browse the repository at this point in the history
Updated the autocompletion setup instructions for Bash, Zsh, and Fish shells to reflect the latest Click 8.1 syntax. Changed Fish shell completion script path to ~/.config/fish/completions/kedro.fish for correct placement.

Signed-off-by: HyeWon Choi <76198373+hyew0nChoi@users.noreply.github.com>
Signed-off-by: hyew0nChoi <statistic9935@naver.com>
  • Loading branch information
hyew0nChoi committed Oct 7, 2024
1 parent f1d3751 commit 6562bb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/development/commands_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ echo $0
Add the following to your <code>~/.bashrc</code> (or just run it on the command line):

```bash
eval "$(_KEDRO_COMPLETE=source kedro)"
eval "$(_KEDRO_COMPLETE=bash_source kedro)"
```
</details>

Expand All @@ -26,7 +26,7 @@ eval "$(_KEDRO_COMPLETE=source kedro)"
Add the following to <code>~/.zshrc</code>:

```bash
eval "$(_KEDRO_COMPLETE=source_zsh kedro)"
eval "$(_KEDRO_COMPLETE=zsh_source kedro)"
```
</details>

Expand All @@ -36,7 +36,7 @@ eval "$(_KEDRO_COMPLETE=source_zsh kedro)"
Add the following to <code>~/.config/fish/completions/foo-bar.fish</code>:

```bash
eval (env _KEDRO_COMPLETE=source_fish kedro)
eval (env _KEDRO_COMPLETE=fish_source kedro)
```
</details>

Expand Down

0 comments on commit 6562bb2

Please sign in to comment.