MCPcopy
hub / github.com/abiosoft/ishell / ReadLineWithDefault

Method ReadLineWithDefault

actions.go:18–18  ·  view source on GitHub ↗

ReadLineWithDefault reads a line from standard input with default value.

(string)

Source from the content-addressed store, hash-verified

16 ReadLineErr() (string, error)
17 // ReadLineWithDefault reads a line from standard input with default value.
18 ReadLineWithDefault(string) string
19 // ReadPassword reads password from standard input without echoing the characters.
20 // Note that this only works as expected when the standard input is a terminal.
21 ReadPassword() string

Callers 1

mainFunction · 0.65

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected