Add readme
parent
fa704a87b2
commit
9751db62f8
@ -0,0 +1,14 @@
|
||||
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:
|
||||
|
||||
```go
|
||||
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.
|
Loading…
Reference in New Issue