Registry / cli / chzyer-readline

chzyer-readline

JSON →
library1.5.1gogounverified

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

go get github.com/chzyer/readline
INSTALL
IMPORT
SIG · CHZYER-READLINE
C
chzyer-readline
cligov1.5.1
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
github.com/chzyer/readline

Reads a line of input with readline features like history and editing.

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

No known issues recorded.

Upgrade
Version history
1.5.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
chzyer-readline — go get chzyer-readline · libregistry