@ReadOnly public abstract class DataStoreList extends AbstractCommand implements CLICommand {
@ReadOnly public abstract class DataStoreList extends AbstractCommand implements CLICommand {
@ReadOnly public abstract class DataStoreList extends AbstractCommand implements CLICommand {
@ReadOnly @Parameters(commandNames = "merge-base", commandDescription = "Outputs the common ancestor of 2 commits") public class MergeBase extends AbstractCommand implements CLICommand {
@ReadOnly @Parameters(commandNames = "list", commandDescription = "List all remotes for the current repository") public class RemoteList extends AbstractCommand implements CLICommand {
@ReadOnly @Parameters(commandNames = "merge-base", commandDescription = "Outputs the common ancestor of 2 commits") public class MergeBase extends AbstractCommand implements CLICommand {
@ReadOnly @Parameters(commandNames = "merge-base", commandDescription = "Outputs the common ancestor of 2 commits") public class MergeBase extends AbstractCommand implements CLICommand {
/** * Geopackage CLI proxy for {@link ListOp} * * @see ListOp */ @ReadOnly @Parameters(commandNames = "list", commandDescription = "List available feature types in a database") public class GeopkgList extends DataStoreList implements CLICommand { /** * Common arguments for Geopackage commands. */ @ParametersDelegate final GeopkgCommonArgs commonArgs = new GeopkgCommonArgs(); final GeopkgSupport support = new GeopkgSupport(); @Override protected DataStore getDataStore() { File databaseFile = new File(commonArgs.database); Preconditions.checkArgument(databaseFile.exists(), "Database file not found."); return support.getDataStore(commonArgs); } }
/** * Exports features from a feature type into a Oracle database. * * @see ExportOp */ @ReadOnly @Parameters(commandNames = "export", commandDescription = "Export to Oracle") public class OracleExport extends DataStoreExport implements CLICommand { /** * Common arguments for Oracle commands. */ @ParametersDelegate public OracleCommonArgs commonArgs = new OracleCommonArgs(); final OracleSupport support = new OracleSupport(); @Override protected DataStore getDataStore() { return support.getDataStore(commonArgs); } }
/** * Geopackage CLI proxy for {@link ListOp} * * @see ListOp */ @ReadOnly @Parameters(commandNames = "list", commandDescription = "List available feature types in a database") public class GeopkgList extends DataStoreList implements CLICommand { /** * Common arguments for Geopackage commands. */ @ParametersDelegate final GeopkgCommonArgs commonArgs = new GeopkgCommonArgs(); final GeopkgSupport support = new GeopkgSupport(); @Override protected DataStore getDataStore() { File databaseFile = new File(commonArgs.database); Preconditions.checkArgument(databaseFile.exists(), "Database file not found."); return support.getDataStore(commonArgs); } }
/** * Lists tables from a PostGIS database. * * PostGIS CLI proxy for {@link ListOp} * * @see ListOp */ @ReadOnly @Parameters(commandNames = "list", commandDescription = "List available feature types in a database") public class PGList extends DataStoreList implements CLICommand { /** * Common arguments for PostGIS commands. */ @ParametersDelegate public PGCommonArgs commonArgs = new PGCommonArgs(); final PGSupport support = new PGSupport(); @Override protected DataStore getDataStore() { return support.getDataStore(commonArgs); } }
@ReadOnly @RequiresRepository(false) @Parameters(commandNames = { "--help", "help" }, commandDescription = "Print this help message, or provide a command name to get help for")
/** * Lists tables from a PostGIS database. * * PostGIS CLI proxy for {@link ListOp} * * @see ListOp */ @ReadOnly @Parameters(commandNames = "list", commandDescription = "List available feature types in a database") public class PGList extends DataStoreList implements CLICommand { /** * Common arguments for PostGIS commands. */ @ParametersDelegate public PGCommonArgs commonArgs = new PGCommonArgs(); final PGSupport support = new PGSupport(); @Override protected DataStore getDataStore() { return support.getDataStore(commonArgs); } }
@ReadOnly @RequiresRepository(false) @Parameters(commandNames = { "--help", "help" }, commandDescription = "Print this help message, or provide a command name to get help for")
@ReadOnly @RequiresRepository(false) @Parameters(commandNames = { "--help", "help" }, commandDescription = "Print this help message, or provide a command name to get help for")
/** * Lists tables from an Oracle database. * * Oracle CLI proxy for {@link ListOp} * * @see ListOp */ @ReadOnly @Parameters(commandNames = "list", commandDescription = "List available feature types in a database") public class OracleList extends DataStoreList implements CLICommand { /** * Common arguments for Oracle commands. */ @ParametersDelegate public OracleCommonArgs commonArgs = new OracleCommonArgs(); final OracleSupport support = new OracleSupport(); @Override protected DataStore getDataStore() { return support.getDataStore(commonArgs); } }
/** * Geopackage CLI proxy for {@link ListOp} * * @see ListOp */ @ReadOnly @Parameters(commandNames = "list", commandDescription = "List available feature types in a database") public class GeopkgList extends DataStoreList implements CLICommand { /** * Common arguments for Geopackage commands. */ @ParametersDelegate final GeopkgCommonArgs commonArgs = new GeopkgCommonArgs(); final GeopkgSupport support = new GeopkgSupport(); @Override protected DataStore getDataStore() { File databaseFile = new File(commonArgs.database); Preconditions.checkArgument(databaseFile.exists(), "Database file not found."); return support.getDataStore(commonArgs); } }
/** * Lists tables from a PostGIS database. * * PostGIS CLI proxy for {@link ListOp} * * @see ListOp */ @ReadOnly @Parameters(commandNames = "list", commandDescription = "List available feature types in a database") public class PGList extends DataStoreList implements CLICommand { /** * Common arguments for PostGIS commands. */ @ParametersDelegate public PGCommonArgs commonArgs = new PGCommonArgs(); final PGSupport support = new PGSupport(); @Override protected DataStore getDataStore() { return support.getDataStore(commonArgs); } }
@ReadOnly @RequiresRepository(false) @Parameters(commandNames = { "--version",
@ReadOnly @Parameters(commandNames = "export", commandDescription = "Export to PostGIS") public class PGExport extends DataStoreExport implements CLICommand {