[][src]Module rhc::files

Functions

get_all_toml_files
list_all_choices

Try to load all request definitions from TOML files under the base definitions directory. If any can't be parsed, return an error to display to the user; this way any malformed TOML files won't cause the whole program to be unusable.

list_all_environments

Try to load all environments from TOML files under the base environments directory. If any are invalid, display a message on stderr and don't allow them to be used.

load_file

Try to load the appropriate struct from the provided file path, if present, and fail with a helpful error message if necessary.