automaton-build.echo.common
Common functions for echoing. Don’t use this namespace but one of the implementation of echoing, like headers or actions.
build-writter
(build-writter)
Creates a writter that could be binded to the output with (binding [*out* s])
where s
is the result of this function.
cmd-str
(cmd-str cmd-str)
Wrap a command string cmd-str
before printing to be seen as a uri in the terminal.
current-time-str
(current-time-str)
Returns current time string.
echo-param
Global echo configuration.
error-font-color
exec-cmd-str
(exec-cmd-str cmd-str)
Returns the string of the execution of a command cmd-str
normal-font-color
pprint-str
(pprint-str data)
Pretty print data
print-writter
(print-writter str-writter)
Print str-writter
if necessary.
screenify
(screenify prefix texts)
Prepare the texts
strings to be printed on the screen. The prefix
is added to every line.
uri-str
(uri-str uri)
Returns the string of the uri
.