diff options
Diffstat (limited to 'bdep/config.cxx')
-rw-r--r-- | bdep/config.cxx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bdep/config.cxx b/bdep/config.cxx new file mode 100644 index 0000000..59dcbad --- /dev/null +++ b/bdep/config.cxx @@ -0,0 +1,27 @@ +// file : bdep/config.cxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#include <bdep/config.hxx> + +#include <bdep/diagnostics.hxx> + +using namespace std; + +namespace bdep +{ + int + cmd_config (const cmd_config_options& o, cli::scanner& args) + { + //@@ TODO: get subcommand and pass to tracer. + + tracer trace ("config"); + + //@@ TODO: validate project/config options for subcommands. + + for (const string& n: o.config_name ()) + text << n; + + return 0; + } +} |