Registry / cli / readline-v1

readline-v1

JSON →
library1.0.0-20160726135117-62c6fe619375gogounverified

A pure Go implementation of the GNU Readline library for command-line input handling.

go get gopkg.in/readline.v1
INSTALL
IMPORT
SIG · READLINE-V1
R
readline-v1
cligov1.0.0-20160726135117-62c6fe619375
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

readline
gopkg.in/readline.v1

Read a line of input with a prompt using Readline.

package main import ( "fmt" "gopkg.in/readline.v1" ) func main() { line, err := readline.New("> ") if err != nil { panic(err) } defer line.Close() input, err := line.Readline() if err != nil { panic(err) } fmt.Println("You entered:", input) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0-20160726135117-62c6fe619375latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
readline-v1 — go get readline-v1 · libregistry