package
1.4.23
Repository: https://github.com/bpicode/fritzctl.git
Documentation: pkg.go.dev

# Functions

Btoc returns a Checkmark from a boolean, red ✘ if the argument is false, a green ✔ otherwise.
ForBool creates a Question with a bool as target value.
ForPassword creates a Question with a sting as target value.
ForString creates a Question with a string as target value.
Headers is an option to store the header texts in the table.
IntToCheckmark returns a string with ansi color instruction characters: a red ✘ if the argument is zero, a green ✔ otherwise.
Itoc returns a Checkmark from an int.
NewTable creates a new table and applies the given Options to it.
Stoc returns a Checkmark from a string.
StringToCheckmark returns a string with ansi color instruction characters: a red ✘ if the argument is "0", a yellow ? if the argument is "", a green ✔ otherwise.

# Variables

Cyan can be used as Sprintf, where the output it wrapped in escape characters which will render the text cyan in terminals.
Green can be used as Sprintf, where the output it wrapped in escape characters which will render the text green in terminals.
Red can be used as Sprintf, where the output it wrapped in escape characters which will render the text red in terminals.
Yellow can be used as Sprintf, where the output it wrapped in escape characters which will render the text yellow in terminals.

# Structs

Question is a container for confronting the user to decide on an answer.
Survey contains the configuration on how to present/obtain questions/answers to/from the user.
Table contains the data to draw a table.

# Interfaces

Converter converts strings to any type.

# Type aliases

Checkmark type is a string with some functions attached.
Option allows to mutate the table.