@Component public class HelpCommands extends java.lang.Object implements CommandMarker, org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
HelpCommands() |
Modifier and Type | Method and Description |
---|---|
void |
obtainHelp(java.lang.String buffer) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
@CliCommand(value="help", help="List all commands usage") public void obtainHelp(@CliOption(key={"","command"},optionContext="disable-string-converter availableCommands",help="Command name to provide help for") java.lang.String buffer)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException