org.springframework.boot.cli.command.core

Class HintCommand

  • All Implemented Interfaces:
    Command


    public class HintCommand
    extends AbstractCommand
    Internal Command to provide hints for shell auto-completion. Expects to be called with the current index followed by a list of arguments already typed.
    Author:
    Phillip Webb
    • Constructor Detail

    • Method Detail

      • run

        public ExitStatus run(String... args)
                       throws Exception
        Description copied from interface: Command
        Run the command.
        Parameters:
        args - command arguments (this will not include the command itself)
        Returns:
        the outcome of the command
        Throws:
        Exception - if the command fails