shell_prompt/shell_prompt library
Fully featured shell prompt implementation.
Classes
- AutocompleteOption
- Option for autocomplete functionality.
- Cursor
- InputHistory
-
encapsulation history for
ShellInput._handleUpArrow
andShellInput._handleDownArrow
- MelosCommand
- script name of melos.yaml
- Shell
- Enterpoint of this library
- ShellCommand
-
Interface for
Command
- ShellInput
- ShellInput implements typical behavior for input field in CLI.
- SimpleCommand
- simplify shell command
Extensions
- Writeln on Logger
- ada
Properties
- logger ↔ StandardLogger
-
logger interface for test
getter/setter pair
Functions
-
basicShellPrompt(
String text) → ShellPrompt - basic Prompt On Shell
-
doNull(
) → void
Typedefs
-
ShellInputAutocomplete
= Future<
List< Function(String input)AutocompleteOption> > -
ShellInputSubmit
= FutureOr<
void> Function(String value) - ShellPrompt = void Function(StandardLogger)
- Interface for Prompt On Shell