}
LiquibaseCommand command;
CommandLineParser commandParser = new GnuParser();
if (main.command.equals("vagrant")) {
command = new VagrantCommand(main);
try {
CommandLine commandArguments = commandParser.parse(((VagrantCommand) command).getOptions(), main.commandArgs.toArray(new String[main.commandArgs.size()]));
((VagrantCommand) command).setup(commandArguments);
} catch (ParseException e) {
throw new UserError("Error parsing command arguments: "+e.getMessage());