Skip to content

cmd: bash autocompletions #443

@rwblickhan

Description

@rwblickhan

Is your feature request related to a problem? Please describe.
Inertia requires a lot of typing to interact with, especially when using inertia [remote]-related subcommands, as there are no shell completions as far as I can tell.

Describe the solution you'd like
Inertia should have autocomplete scripts for bash and preferably zsh as well, a la git_completion.bash, and in particular should have support for completing remote names and subcommands if possible.

Describe alternatives you've considered
Inertia could continue to lack a bash completion script, and users could continue to be frustrated 😃

Additional context
According to @bobheadxi Inertia uses the Cobra command line parsing library, which can generate a bash completion script, although it seems to require a fair amount of work on the part of the developers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :contribuseful, experimental, or dev-only toolingtype: ux 🎨the user experience

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions