use of com.beust.jcommander.JCommander in project GeoGig by boundlessgeo.
the class SQLServerCommandProxy method getCommandParser.
/**
* @return the JCommander parser for this extension
* @see JCommander
*/
@Override
public JCommander getCommandParser() {
JCommander commander = new JCommander();
commander.setProgramName("geogig sqlserver");
commander.addCommand("import", new SQLServerImport());
commander.addCommand("list", new SQLServerList());
commander.addCommand("describe", new SQLServerDescribe());
commander.addCommand("export", new SQLServerExport());
return commander;
}
use of com.beust.jcommander.JCommander in project GeoGig by boundlessgeo.
the class ShpCommandProxy method getCommandParser.
/**
* @return the JCommander parser for this extension
* @see JCommander
*/
@Override
public JCommander getCommandParser() {
JCommander commander = new JCommander();
commander.setProgramName("geogig shp");
commander.addCommand("import", new ShpImport());
commander.addCommand("export", new ShpExport());
commander.addCommand("export-diff", new ShpExportDiff());
return commander;
}
use of com.beust.jcommander.JCommander in project GeoGig by boundlessgeo.
the class GeoJsonCommandProxy method getCommandParser.
/**
* @return the JCommander parser for this extension
* @see JCommander
*/
@Override
public JCommander getCommandParser() {
JCommander commander = new JCommander();
commander.setProgramName("geogig geojson");
commander.addCommand("import", new GeoJsonImport());
commander.addCommand("export", new GeoJsonExport());
return commander;
}
use of com.beust.jcommander.JCommander in project GeoGig by boundlessgeo.
the class OracleCommandProxy method getCommandParser.
/**
* @return the JCommander parser for this extension
* @see JCommander
*/
@Override
public JCommander getCommandParser() {
JCommander commander = new JCommander();
commander.setProgramName("geogig oracle");
commander.addCommand("import", new OracleImport());
commander.addCommand("list", new OracleList());
commander.addCommand("describe", new OracleDescribe());
commander.addCommand("export", new OracleExport());
return commander;
}
use of com.beust.jcommander.JCommander in project GeoGig by boundlessgeo.
the class RemoteExtension method getCommandParser.
/**
* @return the JCommander parser for this extension
* @see JCommander
*/
@Override
public JCommander getCommandParser() {
JCommander commander = new JCommander(this);
commander.setProgramName("geogig remote");
commander.addCommand("add", new RemoteAdd());
commander.addCommand("rm", new RemoteRemove());
commander.addCommand("list", new RemoteList());
return commander;
}
Aggregations