org.springframework.boot.cli.command.shell

Class ShellCommand

    • Constructor Detail

      • ShellCommand

        public ShellCommand()
    • 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