Package io.github.qishr.cascara.common.util
Interface IVersionProvider
java.lang.Object
io.github.qishr.cascara.common.util.CommandLine.IVersionProvider
Enclosing Class:
io.github.qishr.cascara.common.util.CommandLine
public static interface IVersionProvider
Provides version information for a command.Commands may configure a provider with the Command#versionProvider() annotation attribute.
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public abstract String[] | getVersion() | Returns version information for a command. |
Method Details
getVersion
public abstract String[] getVersion()
Returns version information for a command.
Returns:
version information (each string in the array is displayed on a separate line)
Throws: