Class Logs
- java.lang.Object
-
- com.github.rvesse.airline.examples.cli.aliases.Logs
-
- All Implemented Interfaces:
ExampleRunnable
@Command(name="logs", description="Show log information") public class Logs extends java.lang.Object implements ExampleRunnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Logs.Format
-
Field Summary
Fields Modifier and Type Field Description private Logs.Format
format
-
Constructor Summary
Constructors Constructor Description Logs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
run()
Runs the command and returns an exit code that the application should return
-
-
-
Field Detail
-
format
@Option(name={"-f","--format"}, title="Format", description="Sets the desired output format") private Logs.Format format
-
-
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
-
-