Class Discussed
- java.lang.Object
-
- com.github.rvesse.airline.examples.userguide.help.sections.Discussed
-
- All Implemented Interfaces:
ExampleRunnable
@Command(name="discussed", description="A command with a discussion section") @Discussion(paragraphs={"This command uses the @Discussion annotation to add a discussion section to its help","This is an example of using a Help Section annotation to add content into our generated help output."}) public class Discussed extends java.lang.Object implements ExampleRunnable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
arguments
private CommandMetadata
metadata
-
Constructor Summary
Constructors Constructor Description Discussed()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
int
run()
Runs the command and returns an exit code that the application should return
-
-
-
Field Detail
-
metadata
@AirlineModule private CommandMetadata metadata
-
arguments
@Arguments private java.util.List<java.lang.String> arguments
-
-
Method Detail
-
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
-
main
public static void main(java.lang.String[] args)
-
-