Examples of obtainHelp()


Examples of org.springframework.shell.core.SimpleParser.obtainHelp()

  public void obtainHelp(
      @CliOption(key = { "", "command" }, optionContext = "disable-string-converter availableCommands", help = "Command name to provide help for")
      String buffer) {
    JLineShellComponent shell = ctx.getBean("shell", JLineShellComponent.class);
    SimpleParser parser = shell.getSimpleParser();
    parser.obtainHelp(buffer);
  }

  @Override
  public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
    this.ctx = applicationContext;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.