Registry / cli / alecaivazis-survey-v2

alecaivazis-survey-v2

JSON →
library2.3.7gogounverified

A library for building interactive prompts and surveys in the terminal.

go get github.com/AlecAivazis/survey/v2
INSTALL
IMPORT
SIG · ALECAIVAZIS-SURVEY
A
alecaivazis-survey-v2
cligov2.3.7
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.

survey
github.com/AlecAivazis/survey/v2

Ask a simple text input question.

package main import ( "fmt" "github.com/AlecAivazis/survey/v2" ) func main() { name := "" prompt := &survey.Input{Message: "What is your name?"} survey.AskOne(prompt, &name) fmt.Printf("Hello, %s!\n", name) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
32
Perplexity
1
Resources
alecaivazis-survey-v2 — go get alecaivazis-survey-v2 · libregistry