// file : bdep/config.hxx -*- C++ -*- // copyright : Copyright (c) 2014-2018 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #ifndef BDEP_CONFIG_HXX #define BDEP_CONFIG_HXX #include #include #include #include namespace bdep { shared_ptr cmd_config_add (const configuration_add_options&, const dir_path& prj, const package_locations&, database&, dir_path path, optional name, optional id = nullopt, const char* what = "added"); shared_ptr cmd_config_create (const common_options&, const configuration_add_options&, const dir_path& prj, const package_locations&, database&, dir_path path, cli::scanner& args, optional name, optional id = nullopt); int cmd_config (cmd_config_options&&, cli::scanner& args); // Validate returning one of the options or NULL if none specified. // const char* cmd_config_validate_add (const configuration_add_options&); // Validate setting configuration name and/or id if specified. // void cmd_config_validate_add (const configuration_name_options&, const char* what, optional& name, optional& id); } #endif // BDEP_CONFIG_HXX