mirror of
https://github.com/uutils/coreutils
synced 2024-12-22 11:03:12 +00:00
a9e79c72c7
This adds a hidden `completion` subcommand to coreutils. When invoked with `coreutils completion <utility> <shell>` a completion file will be printed to stdout. When running `make install` those files will be created for all utilities and copied to the appropriate locations. `make install` will install completions for zsh, fish and bash; however, clap also supports generating completions for powershell and elvish. With this patch all utilities are required to have a publich uu_app function that returns a clap::App in addition to the uumain function. |
||
---|---|---|
.. | ||
coreutils.rs |