urbanjost / M_CLI2

Fortran commandline-interface using a simple prototype command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can M_CLI2 generate completion files automatically?

urbanjost opened this issue · comments

#bash-shell completion scripts (using complete(1) and compgen(1)) would be very nice, and bash is almost ubiquitous except for some MSWindows environments.

So it a special switch were built in like --CLI_bash_completion you could call the program and it would write out a basic completion script that you could source or write to a file to expand upon or put in standard system location.