automaton-build.echo.actions
Echoing in terminal for long living and possibly parrallel actions (like REPL and so on.).
Each line is prefixed with the name of the concerned action.
action
(action prefixs & texts)
Print an action with its prefixs
, the text of the action is texts
.
current-time-str
(current-time-str)
Returns current time string.
errorln
(errorln prefixs & texts)
Print as an error the collection of texts
, with the prefixs
added. It should be highlighted and rare (like one line red for each error and not its details).
exceptionln
(exceptionln prefixs e)
Display exception e
.
normalln
(normalln prefixs & texts)
Print as normal text the collection of texts
, with the prefixs
added. It is the default printing method.
pprint-str
(pprint-str data)
Pretty print data
print-cmd-str
(print-cmd-str prefixs cmd-str)
Prints the execution of command string cmd-str
with the prefixs
added.
print-exec-cmd-str
(print-exec-cmd-str prefixs cmd-str)
Prints the execution of command string cmd-str
with the prefixs
added.
screenify
(screenify prefixs texts)
Prepare the texts
strings to be printed on the terminal.
uri-str
(uri-str uri)
Returns the string of the uri
.