@Override
protected void validateRemainingArgs() throws CLParserException {
String[] args = commandLine.getArgs();
if (0 == args.length) {
throw new CLParserException("No command has been provided.");
}
String command = args[0];
metaData = getCommandMetaData(command);
if (null == metaData) {
throw new CLParserException("Command [" + command + "] is undefined.");
}
String[] newArgs = new String[args.length - 1];
System.arraycopy(args, 1, newArgs, 0, newArgs.length);
commandArgs = metaData.parse(newArgs);