package
0.0.0-20210803074232-48d19ed88b71
Repository: https://github.com/iceming123/ups.git
Documentation: pkg.go.dev
# Functions
New initializes a JavaScript interpreted runtime environment and sets defaults with the config struct.
# Constants
DefaultPrompt is the default prompt line prefix to use for user input querying.
HistoryFile is the file within the data directory to store input scrollback.
# Variables
Stdin holds the stdin line reader (also using stdout for printing prompts).
# Interfaces
UserPrompter defines the methods needed by the console to promt the user for various types of inputs.
# Type aliases
WordCompleter takes the currently edited line with the cursor position and returns the completion candidates for the partial word to be completed.