# Class MMain

java.lang.Object
com.io7m.montarre.cmdline.MMain

All Implemented Interfaces:
  `Runnable`

public final class MMain extends Object implements Runnable
The command-line program.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MMain(String[] inArgs)`
  The main entry point.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `com.io7m.quarrel.core.QApplicationType`
  `application()`
  `int`
  `exitCode()`
  `static void`
  `main(String[] args)`
  The main entry point.
  `static int`
  `mainExitless(String[] args)`
  The main (exitless) entry point.
  `void`
  `run()`
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### MMain

    public MMain(String[] inArgs)
    The main entry point.
    Parameters:
      `inArgs` - Command-line arguments

- ## Method Details

  - ### main

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

  - ### mainExitless

    public static int mainExitless(String[] args)
    The main (exitless) entry point.
    Parameters:
      `args` - Command line arguments
    Returns:
      The exit code

  - ### application

    public com.io7m.quarrel.core.QApplicationType application()
    Returns:
      The quarrel application

  - ### exitCode

    public int exitCode()
    Returns:
      The program exit code

  - ### run

    public void run()
    Specified by:
      `run` in interface `Runnable`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`