Class Required
java.lang.Object
com.github.rvesse.airline.examples.simple.Required
- All Implemented Interfaces:
ExampleRunnable
@Command(name="required",
description="A command with required options")
public class Required
extends Object
implements ExampleRunnable
A command that has some required options
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
required
-
optional
-
-
Constructor Details
-
Required
public Required()
-
-
Method Details
-
main
-
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 interfaceExampleRunnable
- Returns:
- Exit code
-