Skip to content

Support completion of subcommands and their arguments #20

@efung

Description

@efung

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions