Class FileInfo
- java.lang.Object
-
- com.github.rvesse.airline.examples.userguide.help.bash.FileInfo
-
- All Implemented Interfaces:
ExampleRunnable
@Command(name="file-info", description="Returns information about the given files") public class FileInfo extends java.lang.Object implements ExampleRunnable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
files
-
Constructor Summary
Constructors Constructor Description FileInfo()
-
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
-
files
@Arguments(description="Files to get info for") private java.util.List<java.lang.String> files
-
-
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
-
-