#include <mrpt/3rdparty/tclap/CmdLine.h>
#include <mrpt/core/exceptions.h>
#include <mrpt/system/CTicTac.h>
#include <mrpt/system/os.h>
#include <chrono>
#include <iostream>
#include <map>
#include "mvsim-cli.h"
Go to the source code of this file.
|
TCLAP::UnlabeledMultiArg< std::string > | argCmd ("command","Command to run. Run 'mvsim help' to list commands.", false,"", cmd) |
|
TCLAP::SwitchArg | argDetails ("","details","Shows details in the specified subcommand", cmd) |
|
TCLAP::SwitchArg | argHelp ("h","help","Shows more detailed help for command", cmd) |
|
TCLAP::ValueArg< std::string > | argVerbosity ("v","verbose","Verbosity level", false,"INFO","ERROR|WARN|INFO|DEBUG", cmd) |
|
static const std::map< std::string, cmd_t > | cliCommands |
|
TCLAP::CmdLine | cmd ("mvsim", ' ',"version", false) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
int printListCommands |
( |
| ) |
|
TCLAP::SwitchArg argDetails("","details","Shows details in the specified subcommand", cmd) |
Initial value:= {
}
std::function< int(void)> cmd_t
int launchStandAloneServer()
Definition at line 39 of file mvsim-cli-main.cpp.