# Packages
No description provided by the author
# README
clui
Command Line User Interface library for building user interfaces that interact with humans. You can find a more comprehensive example here.
Usage
Printing messages
ui := clui.NewUI()
ui.Normal().Msg("The quick brown fox jumps over the lazy dog!")
Asking for input
ui := clui.NewUI()
var stringResult string
ui.Normal().
WithAskString("What's your name?", &stringResult).
Do()
Spinner progress
ui := clui.NewUI()
p := ui.Progress("Doing something in the background")
p.Start()
defer p.Stop()
time.Sleep(5 * time.Second)
Tables
ui := clui.NewUI()
ui.Normal().WithTable("#", "Name", "Age", "Link").
WithTableRow("1", "Stephen J. Fry", "20", "https://aserto.com").Do()