From 9751db62f862751cc3d6835512bf97a958ad2cc3 Mon Sep 17 00:00:00 2001 From: joop Date: Thu, 17 Mar 2022 01:36:14 +0000 Subject: Add readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..bf6405f --- /dev/null +++ b/README.md @@ -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. -- cgit v1.2.3-70-g09d2