Class RootCommand

java.lang.Object
com.tbg.wms.cli.commands.RootCommand
All Implemented Interfaces:
Callable<Integer>

public final class RootCommand extends Object implements Callable<Integer>
Root command for the WMS Pallet Tag System CLI.

This is the main entry point for all CLI operations. Subcommands are registered here to handle specific tasks such as configuration display, database testing, label generation, and printing.

Exit codes:

  • 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
  • Constructor Details

    • RootCommand

      public RootCommand()
  • Method Details

    • call

      public Integer call()
      Default root command handler.
      Specified by:
      call in interface Callable<Integer>
      Returns:
      always 0