blob: 3e7998f4626098c5751d1c1a12c68fb713cba299 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// file : bdep/init.cxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#include <bdep/init.hxx>
#include <bdep/diagnostics.hxx>
using namespace std;
namespace bdep
{
int
cmd_init (const cmd_init_options& o, cli::scanner& args)
{
tracer trace ("init");
//@@ TODO: validate project/config options for subcommands.
for (const string& n: o.config_name ())
text << n;
return 0;
}
}
|