Search in sources :

Example 1 with ShpExport

use of org.locationtech.geogig.geotools.cli.porcelain.ShpExport 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;
}
Also used : ShpExportDiff(org.locationtech.geogig.geotools.cli.porcelain.ShpExportDiff) JCommander(com.beust.jcommander.JCommander) ShpImport(org.locationtech.geogig.geotools.cli.porcelain.ShpImport) ShpExport(org.locationtech.geogig.geotools.cli.porcelain.ShpExport)

Aggregations

JCommander (com.beust.jcommander.JCommander)1 ShpExport (org.locationtech.geogig.geotools.cli.porcelain.ShpExport)1 ShpExportDiff (org.locationtech.geogig.geotools.cli.porcelain.ShpExportDiff)1 ShpImport (org.locationtech.geogig.geotools.cli.porcelain.ShpImport)1