Skip to content

[Feature request] save bash completion #86

@victorsndvg

Description

@victorsndvg

Hi @szaghi ,

Here I post a suggestion that I think could be interesting.

I've recently discovered save_usage_to_markdown and save_man_page procedures. It's a really smart idea to enable a binary to create its own usage help.

In addition to these procedures, I think it could be awesome to provide a new one to generate a bash-completion (or for other shell) script for further installation to let the shell to autocomplete the command line options/flags for a binary using FLAP.

https://askubuntu.com/questions/68175/how-to-create-script-with-auto-complete
https://stackoverflow.com/questions/6107438/c-console-application-auto-complete-dynamic-arguments

BR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions