Package com.io7m.cedarbridge.cmdline

# Class Main

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

All Implemented Interfaces:
  `Runnable`

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Stream<String>`
  `commandNames()`
  `SortedMap<String,com.io7m.claypot.core.CLPCommandType>`
  `commands()`
  `Optional<Exception>`
  `exitCause()`
  `int`
  `exitCode()`
  `static void`
  `main(String[] args)`
  The main entry point.
  `void`
  `run()`
  `String`
  `toString()`

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

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

- ## 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