Package org.springframework.shell.core

Examples of org.springframework.shell.core.SimpleParser


  @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")
      String buffer) {
    JLineShellComponent shell = ctx.getBean("shell", JLineShellComponent.class);
    SimpleParser parser = shell.getSimpleParser();
    parser.obtainHelp(buffer);
  }
View Full Code Here


  // Fixture
  private SimpleParser simpleParser;

  @Before
  public void setUp() {
    this.simpleParser = new SimpleParser();
  }
View Full Code Here

TOP

Related Classes of org.springframework.shell.core.SimpleParser

Copyright © 2018 www.massapicom. 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.