27 char const * argv[256] = { 0 };
31 argv[argc++] =
"<program>";
32 argv[argc++] =
"--archive";
34 config.
default_file(
"./test-rconfig.dir/global-vault-selection-behavior.dir/file-1.conf");
43 assert(e.size() == 2);
44 assert(e[0].what() ==
"Invalid vault-selection-behavior value: \"lolksjdf\"");
45 assert(e[1].what() ==
"At ./test-rconfig.dir/global-vault-selection-behavior.dir/file-1.conf[3]");
56 int main(
int argc,
char const * argv[])
void init(int argc, char const *argv[])
Initialize the configuration manager from rvm's command line options.
Basic types definitions and templates.
void default_file(const std::string &a_path)
Set the default configuration filename.
void default_logdir(const std::string &a_path)
Return the default log-dir.
const selection_type & vault_selection_behavior(void) const
Return the vault-selection-behavior.
configuration_manager config
The global configuration manager instance.
int main(int argc, char const *argv[])