java.lang.Object
com.github.rvesse.airline.examples.modules.ModuleReuse
All Implemented Interfaces:
ExampleRunnable

@Command(name="module-reuse", description="A command that demonstrates re-use of modules and composition with locally defined options") public class ModuleReuse extends Object implements ExampleRunnable
Here we have another command which reuses module classes we've defined and also adds locally defined options, we can
Author:
rvesse
  • Constructor Details

    • ModuleReuse

      public ModuleReuse()
  • Method Details

    • main

      public static void main(String[] args)
    • run

      public int run()
      Description copied from interface: ExampleRunnable
      Runs the command and returns an exit code that the application should return
      Specified by:
      run in interface ExampleRunnable
      Returns:
      Exit code