37 main(
int argc,
char** argv)
39 std::vector<std::string> args(argv + 1, argv + argc);
49 if (args[0] ==
"-V" || args[0] ==
"--version") {
54 std::string noun, verb;
60 catch (
const std::invalid_argument& e) {
61 int ret =
help(std::cout, parser, std::move(args));
63 std::cerr << e.what() << std::endl;
70 Controller controller(face, keyChain);
71 ExecuteContext ctx{noun, verb, ca, 0, std::cout, std::cerr, face, keyChain, controller};
75 catch (
const std::exception& e) {
76 std::cerr << e.what() << std::endl;
86 main(
int argc,
char** argv)
context for command execution
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
const char NFD_VERSION_BUILD_STRING[]
NFD version string, including git commit information, if NFD is build from specific git commit...