Package com.io7m.looseleaf.cmdline
Class Main
java.lang.Object
com.io7m.looseleaf.cmdline.Main
- All Implemented Interfaces:
Runnable
com.io7m.looseleaf.cmdline.Main command line entry point.
-
Constructor Details
-
Main
The main entry point.- Parameters:
inArgs- Command-line arguments
-
-
Method Details
-
main
The main entry point.- Parameters:
args- Command line arguments
-
mainExitless
The main (exitless) entry point.- Parameters:
args- Command line arguments- Returns:
- The exit code
-
exitCode
public int exitCode()- Returns:
- The program exit code
-
run
public void run() -
commandNames
- Returns:
- The names of the available commands
-
commands
- Returns:
- The available commands
-
toString
-
exitCause
- Returns:
- The exception that caused the exit
-