Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support completion of subcommands and their arguments #20

Open
efung opened this issue Jan 31, 2024 · 0 comments · May be fixed by #21
Open

Support completion of subcommands and their arguments #20

efung opened this issue Jan 31, 2024 · 0 comments · May be fixed by #21

Comments

@efung
Copy link

efung commented Jan 31, 2024

After installing this completion script, I realized that it doesn't complete subcommands, e.g. I expect dbt d<TAB> to offer debug deps docs, or, dbt run --s<TAB> to offer --select --selector --state as completions.

Digging around, I learned that the dbt CLI is built using Click and that it supports shell completion.

It would be nice to merge that generated script with this one to get the best of both worlds!

@efung efung linked a pull request Jan 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant