org.sonatype.gshell.command.support
Class CommandHelpSupport

java.lang.Object
  extended by org.sonatype.gshell.command.support.CommandHelpSupport

public class CommandHelpSupport
extends Object

Helper to inject --help support.

Since:
2.0
Author:
Jason Dillon

Field Summary
static String COMMAND_DESCRIPTION
           
static String COMMAND_DOT
           
static String COMMAND_NAME
           
 boolean displayHelp
           
 
Constructor Summary
CommandHelpSupport()
           
 
Method Summary
 CliProcessor createProcessor(CommandAction command)
           
static String getDescription(CommandAction command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMAND_DOT

public static final String COMMAND_DOT
See Also:
Constant Field Values

COMMAND_NAME

public static final String COMMAND_NAME
See Also:
Constant Field Values

COMMAND_DESCRIPTION

public static final String COMMAND_DESCRIPTION
See Also:
Constant Field Values

displayHelp

public boolean displayHelp
Constructor Detail

CommandHelpSupport

public CommandHelpSupport()
Method Detail

createProcessor

public CliProcessor createProcessor(CommandAction command)

getDescription

public static String getDescription(CommandAction command)


Copyright © 2008-2011 Sonatype. All Rights Reserved.