Interface CliCommand

All Known Subinterfaces:
ConsoleCommand
All Known Implementing Classes:
AbstractCmdLs, AbstractCommand, AbstractConsoleCommand, AbstractJcrFsCommand, AbstractVaultCommand, CmdAdd, CmdCat, CmdCd, CmdCheckout, CmdCheckoutCli, CmdCommit, CmdConnect, CmdConsole, CmdCtx, CmdDebug, CmdDelete, CmdDiff, CmdDisconnect, CmdDump, CmdEnv, CmdExec, CmdExit, CmdExport, CmdExportCli, CmdFormatCli, CmdGet, CmdHello, CmdHelp, CmdHistory, CmdImport, CmdImportCli, CmdInfo, CmdInvalidate, CmdLoad, CmdLogin, CmdLogout, CmdLs, CmdLsAggregate, CmdLsJcrFs, CmdLsRepo, CmdMixins, CmdMount, CmdPropGet, CmdPropList, CmdPropSet, CmdPut, CmdPwd, CmdRcp, CmdRefresh, CmdResolved, CmdRevert, CmdRm, CmdSave, CmdSet, CmdStatus, CmdStore, CmdSync, CmdTree, CmdUnmount, CmdUpdate, CmdVaultDebug

public interface CliCommand
Command Line Command
  • Field Details

    • OPT_VERBOSE

      static final org.apache.commons.cli2.Option OPT_VERBOSE
      verbose option that can be globally used
    • OPT_QUIET

      static final org.apache.commons.cli2.Option OPT_QUIET
      quiet option that can be globally used
  • Method Details

    • execute

      boolean execute(ExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception
      Throws:
      Exception
    • getName

      String getName()
    • getShortDescription

      String getShortDescription()
    • getLongDescription

      String getLongDescription()
    • getExample

      String getExample()
    • hasName

      boolean hasName(String name)
    • getCommand

      org.apache.commons.cli2.Option getCommand()