From cc7216e60cd6893974e687599682c5e6233e9b69 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Mar 2018 14:29:43 +0200 Subject: Initial implementation of new command --- bdep/init.hxx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'bdep/init.hxx') 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 #include +#include #include namespace bdep { + // Handle --config-create/add. + // + shared_ptr + 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); } -- cgit v1.1