org.nuxeo.ecm.shell.commands
Class HelpCommand
java.lang.Object
org.nuxeo.ecm.shell.commands.HelpCommand
- All Implemented Interfaces:
- Command
public class HelpCommand
- extends java.lang.Object
- implements Command
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelpCommand
public HelpCommand()
run
public void run(CommandLine cmdLine)
throws java.lang.Exception
- Specified by:
run
in interface Command
- Throws:
java.lang.Exception
printGlobalHelp
public void printGlobalHelp(java.io.PrintStream out)
printCommandHelp
public void printCommandHelp(java.lang.String cmd,
java.io.PrintStream out)
trimHelpLines
public static java.lang.String[] trimHelpLines(java.lang.String help)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.