org.springframework.shell.core

## Interface ShellPromptAccessor

- All Known Subinterfaces:
    Shell
  All Known Implementing Classes:
    AbstractShell, JLineShell, JLineShellComponent

      public interface ShellPromptAccessor

  Obtains the prompt used by a `Shell`.
  Since:
    1.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getShellPrompt()`

- - ### Method Detail

    - #### getShellPrompt

          String getShellPrompt()

      Returns:
        the shell prompt (never null; the result may include special characters such as ANSI escape codes if the implementation is using them)