T - the result type of this sub-command.public interface ISubCommand<T>
| Modifier and Type | Method and Description |
|---|---|
T |
execute(Context context,
String... args)
Execute sub command.
|
ArgumentType[] |
getArgumentTypes()
Get arguments of this sub-command.
|
String |
getName()
Get sub-command name.
|
String getName()
ArgumentType[] getArgumentTypes()
Copyright © 2016. All rights reserved.