Documentation
¶
Overview ¶
Package logcolor centralises the environment that makes CLI tools emit ANSI colour when lerd runs them with no TTY attached. Workers, UI-run commands and container execs all write to a pipe, a log file or the journal, so tools like artisan, composer, vite and pest disable colour on their own unless told otherwise. The web UI renders the escapes, so we ask for them everywhere.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PodmanExecArgs ¶
func PodmanExecArgs() []string
PodmanExecArgs returns the flags to add to a `podman exec` invocation.
func QuadletEnvLines ¶
func QuadletEnvLines() string
QuadletEnvLines returns systemd `Environment=` lines for a quadlet or unit body, newline-terminated so callers can splice them into a template.
func ShellExports ¶
func ShellExports() string
ShellExports returns `export KEY=VALUE` lines for a generated guard script.
Types ¶
This section is empty.