Function reups_lib::setup_command

source ·
pub fn setup_command(sub_args: &ArgMatches<'_>, _main_args: &ArgMatches<'_>)
Expand description

This function takes in arguments parsed from the command line, parses them for products to setup and options to use during the setup, and sets up the specified product in the environment.

Because of the way environments work, this function itself actually only returns a string containing all the environment variables to be setup. To actually have the variables added to the environment, this command must be used in combination with the rsetup shell function.