Class Main

java.lang.Object
de.hsh.graja.util.cli.Main

public class Main extends Object
  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static boolean main(String[] args, Logging log, List<CommandProvider> commandProviders, CliConfig cfg)
      This is the main entrance to the CLI utilities library.
      Parameters:
      args - the command line arguments
      log - is used for all outputs. Usually here you pass something like new Logging("loggername", Target.STDOUT);
      commandProviders -
      cfg - Here you should pass string values that are inserted at certain places in output.
      Returns:
      true, if successful