Search in sources :

Example 1 with GeoJsonExport

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

Aggregations

JCommander (com.beust.jcommander.JCommander)1 GeoJsonExport (org.locationtech.geogig.geotools.cli.porcelain.GeoJsonExport)1 GeoJsonImport (org.locationtech.geogig.geotools.cli.porcelain.GeoJsonImport)1