pub fn write_completions_stdout(shell: &str)
Expand description

The completions subcommand invokes this function with the shell variable parsed from the command line. It is responsible for generating the corresponding shell completion scripts for the supplied shell.

This generates bindings for the main reups application, and also bindings specifically for the rsetup subcommand.

The resulting scripts are output to stdout so the user has the ability to pipe them to the appropriate location.