Class Manuals
java.lang.Object
com.github.rvesse.airline.examples.cli.commands.Manuals
- All Implemented Interfaces:
ExampleRunnable
@Command(name="generate-manuals",
description="Generates manual pages for this CLI that can be rendered with the man tool")
public class Manuals
extends Object
implements ExampleRunnable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintrun()Runs the command and returns an exit code that the application should return
-
Field Details
-
global
-
includeHidden
@Option(name="--include-hidden", description="When set hidden commands and options are shown in help", hidden=true) private boolean includeHidden
-
-
Constructor Details
-
Manuals
public Manuals()
-
-
Method Details
-
run
public int run()Description copied from interface:ExampleRunnableRuns the command and returns an exit code that the application should return- Specified by:
runin interfaceExampleRunnable- Returns:
- Exit code
-