public abstract class Command extends Object
yamcs <options> subcmd <options> subcmd <options>...
| Modifier and Type | Field and Description |
|---|---|
protected static com.beust.jcommander.internal.Console |
console |
protected com.beust.jcommander.JCommander |
jc |
protected Command |
selectedCommand |
protected Map<String,Command> |
subCommands |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSubCommand(Command cmd) |
String |
getName() |
String |
getUsage() |
protected YamcsCli |
getYamcsCli() |
protected YamcsConnectionProperties |
getYamcsConnectionProperties() |
void |
parse(String... args) |
void |
setYcpRequired(boolean requiredYcp,
boolean requireInstance) |
protected static com.beust.jcommander.internal.Console console
protected com.beust.jcommander.JCommander jc
protected Command selectedCommand
public void setYcpRequired(boolean requiredYcp,
boolean requireInstance)
protected void addSubCommand(Command cmd)
protected YamcsConnectionProperties getYamcsConnectionProperties()
protected YamcsCli getYamcsCli()
public void parse(String... args)
public String getName()
public String getUsage()
Copyright © 2018 Space Applications Services. All rights reserved.