Class VersionCommand
java.lang.Object
net.thevpc.nsh.cmd.NshBuiltinBase
net.thevpc.nsh.cmd.NshBuiltinCore
net.thevpc.nsh.cmd.impl.core.VersionCommand
- All Implemented Interfaces:
NshBuiltin,NComponent,NScorable
Created by vpc on 1/7/17.
-
Field Summary
Fields inherited from interface net.thevpc.nuts.util.NScorable
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidmain(NCmdLine cmdLine, NshExecutionContext context) protected booleannextNonOption(NArg arg, NCmdLine cmdLine, NshExecutionContext context) protected booleannextOption(NArg arg, NCmdLine cmdLine, NshExecutionContext context) Methods inherited from class net.thevpc.nsh.cmd.NshBuiltinBase
autoComplete, cmdLine, createOptions, exec, getHelp, getHelpHeader, getName, getScore, init, isEnabled, setEnabled, throwExecutionException, validate
-
Constructor Details
-
VersionCommand
public VersionCommand()
-
-
Method Details
-
nextOption
- Specified by:
nextOptionin classNshBuiltinBase
-
nextNonOption
- Specified by:
nextNonOptionin classNshBuiltinBase
-
main
- Specified by:
mainin classNshBuiltinBase
-