/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* Copyright Nate Lust 2018*/
use crateargparse;
use io;
/**
* 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.
*/