diff options
Diffstat (limited to 'bdep/init.hxx')
-rw-r--r-- | bdep/init.hxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bdep/init.hxx b/bdep/init.hxx index f9a5181..f3397ff 100644 --- a/bdep/init.hxx +++ b/bdep/init.hxx @@ -8,10 +8,31 @@ #include <bdep/types.hxx> #include <bdep/utility.hxx> +#include <bdep/project.hxx> #include <bdep/init-options.hxx> namespace bdep { + // Handle --config-create/add. + // + shared_ptr<configuration> + cmd_init_config (const configuration_name_options&, + const dir_path& prj, + database&, + const dir_path& cfg, + bool config_add_specified, + bool config_create_specified); + + // Initialize each package in each configuration skipping those that are + // already initialized. Then synchronize each configuration. + // + void + cmd_init (const common_options&, + const dir_path& prj, + database&, + const configurations&, + const package_locations&); + int cmd_init (const cmd_init_options&, cli::scanner& args); } |