doShell/app/app.cc
App::App(int argc, const std::vector<std::string>& argv) {
  if (argv.size() == 1) {
    // No command given
    AppHelp::PrintHelp(true, AppCommands::Command::Command_Invalid);

    return;
  }

  argc_ = argc;
  argv_ = argv;

  command_ = new AppCommands(argc > 0 ? argv[1] : "");
}
// Constructor: init (resolve) command and arguments
init (resolve) command and arguments
init ( resolve ) command and arguments
App::App(int argc, const std::vector<std::string>& argv) {
  if (argv.size() == 1) {
    AppHelp::PrintHelp(true, AppCommands::Command::Command_Invalid);
    return;
  }
  argc_ = argc;
  argv_ = argv;
  command_ = new AppCommands(argc > 0 ? argv[1] : "");
}
App :: App ( int argc , const std :: vector < std :: string > & argv ) { if ( argv . size ( ) == 1 ) { AppHelp :: PrintHelp ( true , AppCommands :: Command :: Command_Invalid ) ; return ; } argc_ = argc ; argv_ = argv ; command_ = new AppCommands ( argc > 0 ? argv [ 1 ] : " " ) ; }
Constructor: init (resolve) command and arguments
Constructor : init ( resolve ) command and arguments
// No command given