Search in sources :

Example 1 with SLList

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

the class SLCommandProxy method getCommandParser.

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

Aggregations

JCommander (com.beust.jcommander.JCommander)1 SLDescribe (org.locationtech.geogig.geotools.cli.porcelain.SLDescribe)1 SLExport (org.locationtech.geogig.geotools.cli.porcelain.SLExport)1 SLImport (org.locationtech.geogig.geotools.cli.porcelain.SLImport)1 SLList (org.locationtech.geogig.geotools.cli.porcelain.SLList)1