Package com.io7m.waxmill.cmdline

# Class Main

java.lang.Object
com.io7m.waxmill.cmdline.Main

All Implemented Interfaces:
  `java.lang.Runnable`

    public final class Main
    extends java.lang.Object
    implements java.lang.Runnable

Main command line entry point.

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `Main​(java.lang.String[] inArgs)` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `java.util.stream.Stream<java.lang.String>` | `commandNames()` |
  `java.util.SortedMap<java.lang.String,​com.io7m.claypot.core.CLPCommandType>` | `commands()` |
  `int` | `exitCode()` |
  `static void` | `main​(java.lang.String[] args)` | The main entry point.
  `void` | `run()` |
  `java.lang.String` | `toString()` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Main

    public Main​(java.lang.String[] inArgs)

- ## Method Details

  - ### main

    public static void main​(java.lang.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 `java.lang.Runnable`

  - ### commandNames

    public java.util.stream.Stream<java.lang.String> commandNames()
    Returns:
      The names of the available commands

  - ### commands

    public java.util.SortedMap<java.lang.String,​com.io7m.claypot.core.CLPCommandType> commands()
    Returns:
      The available commands

  - ### toString

    public java.lang.String toString()
    Overrides:
      `toString` in class `java.lang.Object`