kedro-org / kedro

Kedro is a toolbox for production-ready data science. It uses software engineering best practices to help you create data engineering and data science pipelines that are reproducible, maintainable, and modular.
https://kedro.org
Apache License 2.0
9.87k stars 893 forks source link

kedro autocompletion bad pattern #4141

Open incoggnito opened 3 weeks ago

incoggnito commented 3 weeks ago

Hello, I am using zsh and would like to add kedro autocompletion. Is there a trick?

❯ eval "$(_KEDRO_COMPLETE=source_zsh kedro)" zsh: bad pattern: [09/01/24

Slack Message

merelcht commented 3 weeks ago

It looks like the command syntax has been updated (https://click.palletsprojects.com/en/8.1.x/shell-completion/)

@incoggnito can you try:

eval "$(_KEDRO_COMPLETE=zsh_source kedro)"

In my case I still get the bad pattern error, but the autocompletion does work after running the above.

merelcht commented 1 week ago

Hi @incoggnito Do you still need help with this?

incoggnito commented 1 week ago

Thanks, I will try this :)

merelcht commented 1 week ago

I've opened a ticket to updates these docs: https://github.com/kedro-org/kedro/issues/4179