You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
joop 2fee340661
Add space removal
10 months ago
example remove binary 11 months ago
LICENSE Add license 11 months ago
README.md Add readme 11 months ago
go.mod Initial commit 11 months ago
prompt.go Add space removal 10 months ago

README.md

PROMPT

A Go 1.18 generics based package to create a command line readline style prompt that gets you the type you ask for. Supports reading in complex types when the Prompter interface is being used. Falls back on fmt.Scan, which might fail.

Usage:

import "git.kiefte.eu/lapingvino/prompt"

And see example.

Feel free to be inspired and include an improved version in your packages. This is not meant to be maintained.