Class Main

java.lang.Object
com.io7m.changelog.cmdline.Main
All Implemented Interfaces:
Runnable

public final class Main extends Object implements Runnable
Main command line entry point.
  • Method Details

    • main

      public static void main(String[] args)
      The main entry point.
      Parameters:
      args - Command line arguments
    • exitCode

      public int exitCode()
      Returns:
      The program exit code
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • commandNames

      public Stream<String> commandNames()
      Returns:
      The names of the available commands
    • commands

      public SortedMap<String,com.io7m.claypot.core.CLPCommandType> commands()
      Returns:
      The available commands
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • exitCause

      public Optional<Exception> exitCause()
      Returns:
      The exception that caused the exit