Class CliMain


public class CliMain extends BasicCliMain
  • Field Details

    • DEFAULT_LOG_LEVEL

      public static final org.apache.logging.log4j.Level DEFAULT_LOG_LEVEL
  • Constructor Details

    • CliMain

      public CliMain()
  • Method Details

    • buildCliConfig

      protected io.permazen.cli.app.CliMain.CliMainConfig buildCliConfig()
      Description copied from class: BasicCliMain
      Build a CliConfig to use.

      The implementation in BasicCliMain returns a new PermazenCliConfig. Subclasses can override this method to restrict to lower layers (e.g., Core API), add additional command-line flags, etc.

      Overrides:
      buildCliConfig in class BasicCliMain
      Returns:
      CLI configuration
    • main

      public static void main(String[] args)
    • setLogLevel

      public static void setLogLevel(String levelName)