java.lang.Object
com.github.rvesse.airline.examples.simple.RequiredArguments
All Implemented Interfaces:
ExampleRunnable

@Command(name="req-args", description="A command with required arguments") public class RequiredArguments extends Object implements ExampleRunnable
An example command that has required arguments
  • Field Details

  • Constructor Details

    • RequiredArguments

      public RequiredArguments()
  • 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