Skip to content

bash completion contribution #225

@AvianY

Description

@AvianY

I made a bash script, which adds completion to the volt program.

in general, the script should be put in the $HOME/.bash_completion.d/ directory and sourced from within
the $HOME/.bashrc

For now, everything expected to work, WORKS.
That means:

  • Completion of all the subcommands ( profile, migrate, profile add ...)
  • Completion of fixed arguments ( migrates arguments )
  • Completion of dynamic arguments
    so, volt profile add <TAB> will complete the profile,
    and the volt profile add default <TAB> will complete an installed plugin, not added to default
    and so on for all the other commands. For now the script is limited to plugins prefixed with github.com and
    they are completed without the prefix.
    volt.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions