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 Object
implements ExampleRunnable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
run()
Runs the command and returns an exit code that the application should return
-
Field Details
-
format
@Option(name={"-f","--format"}, title="Format", description="Sets the desired output format") private Logs.Format format
-
-
Constructor Details
-
Logs
public Logs()
-
-
Method Details
-
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
-