Search in sources :

Example 1 with PGDescribe

use of org.locationtech.geogig.geotools.cli.porcelain.PGDescribe in project GeoGig by boundlessgeo.

the class PGCommandProxy method getCommandParser.

/**
     * @return the JCommander parser for this extension
     * @see JCommander
     */
@Override
public JCommander getCommandParser() {
    JCommander commander = new JCommander();
    commander.setProgramName("geogig pg");
    commander.addCommand("import", new PGImport());
    commander.addCommand("list", new PGList());
    commander.addCommand("describe", new PGDescribe());
    commander.addCommand("export", new PGExport());
    return commander;
}
Also used : PGImport(org.locationtech.geogig.geotools.cli.porcelain.PGImport) PGList(org.locationtech.geogig.geotools.cli.porcelain.PGList) JCommander(com.beust.jcommander.JCommander) PGDescribe(org.locationtech.geogig.geotools.cli.porcelain.PGDescribe) PGExport(org.locationtech.geogig.geotools.cli.porcelain.PGExport)

Aggregations

JCommander (com.beust.jcommander.JCommander)1 PGDescribe (org.locationtech.geogig.geotools.cli.porcelain.PGDescribe)1 PGExport (org.locationtech.geogig.geotools.cli.porcelain.PGExport)1 PGImport (org.locationtech.geogig.geotools.cli.porcelain.PGImport)1 PGList (org.locationtech.geogig.geotools.cli.porcelain.PGList)1