dist Build distribution artifacts
install Install distribution artifacts
run, r Run tools contained in this repository
+ setup Create a config.toml (making it easier to use `x.py` itself)
To learn more about a subcommand, run `./x.py <subcommand> -h`",
);
);
}
"setup" => {
- subcommand_help.push_str(
+ subcommand_help.push_str(&format!(
"\n
+x.py setup creates a `config.toml` which changes the defaults for x.py itself.
+
Arguments:
This subcommand accepts a 'profile' to use for builds. For example:
./x.py setup library
- The profile is optional and you will be prompted interactively if it is not given.",
- );
+ The profile is optional and you will be prompted interactively if it is not given.
+ The following profiles are available:
+
+{}",
+ Profile::all_for_help(" ").trim_end()
+ ));
}
_ => {}
};