Registry / cli / chzyer-readline

chzyer-readline

JSON →
library1.5.1gogounverified

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

cliutility
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.

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 footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
30 hits · last 30 days
bingbot
6
gptbot
3
amazonbot
3
claudebot
3
bytedance
2
mj12bot
1
chatgpt-user
1
Resources