Package com.tbg.wms.cli
Class CliMain
java.lang.Object
com.tbg.wms.cli.CliMain
Process bootstrap for CLI execution and zero-argument GUI launch.
This class intentionally stays narrow: it performs startup cleanup, launches the GUI when the
process is started without arguments, or delegates command execution to RootCommand.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CliMain
public CliMain()
-
-
Method Details
-
main
Main application entry point.Supported exit-code bands are determined by command implementations:
- 0 - success
- 2 - user input/configuration error
- 3 - database connectivity error
- 4 - database query/data error
- 5 - validation error
- 6 - print/network error
- 10 - unexpected internal error
- Parameters:
args- command-line arguments
-