Class RequiredArguments
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
args
-
-
Constructor Details
-
RequiredArguments
public RequiredArguments()
-
-
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
-