Class Version
java.lang.Object
com.github.dakusui.symfonion.cli.subcommands.Version
- All Implemented Interfaces:
Subcommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(Cli cli, PrintStream ps, InputStream inputStream) A method to invoke this subcommand.static Stringlicense()static Stringversion()
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
license
-
version
-
invoke
public void invoke(Cli cli, PrintStream ps, InputStream inputStream) throws SymfonionException, IOException Description copied from interface:SubcommandA method to invoke this subcommand.- Specified by:
invokein interfaceSubcommand- Parameters:
cli-Cliobject.ps- A print stream to which this sub-command should write. UsuallySystem.err.inputStream- An input stream from which this sub-command should read. UsuallySystem.oin.- Throws:
IOException- An IO problem (file-read, write, etc.) happened during execution.SymfonionException
-