diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-13 10:34:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-13 10:34:57 +0200 |
commit | 6be9c7746f92aa721782a4d0eaff5f901fc528cd (patch) | |
tree | ad072fd130d3bb64acee0be183698daa328e8966 /bdep/new.cxx | |
parent | 5dcbecfd8b83f516c067780214f06321f03d1cce (diff) |
Setup command line infrastructure for new command
Diffstat (limited to 'bdep/new.cxx')
-rw-r--r-- | bdep/new.cxx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx new file mode 100644 index 0000000..f2975c8 --- /dev/null +++ b/bdep/new.cxx @@ -0,0 +1,25 @@ +// file : bdep/new.cxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#include <bdep/new.hxx> + +#include <bdep/diagnostics.hxx> + +using namespace std; + +namespace bdep +{ + using type = cmd_new_type; + using lang = cmd_new_lang; + + int + cmd_new (const cmd_new_options& o, cli::scanner& args) + { + tracer trace ("new"); + + //@@ TODO: validate options (cpp/cxx, -A/-C, etc). + + return 0; + } +} |