22 #define ERR_OUT(e) std::cerr << e;
27 char const * argv[256] = { 0 };
31 argv[argc++] =
"<program>";
32 argv[argc++] =
"--archive";
48 assert(
config.
vaults()[0] ==
"./test-rconfig.dir/vaults/vault-1");
49 assert(
config.
vaults()[1] ==
"./test-rconfig.dir/vaults/vault-2");
50 assert(
config.
vaults()[2] ==
"./test-rconfig.dir/vaults/vault-3");
53 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 vaults_type & vaults(void) const
Return the vaults.
configuration_manager config
The global configuration manager instance.
int main(int argc, char const *argv[])