internal/pkg: optionally colour output

This increases readability in some cases.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
cat
2026-07-30 05:15:19 +09:00
parent 698fd2d66a
commit 6fb2065a51
2 changed files with 18 additions and 4 deletions
+3
View File
@@ -721,6 +721,9 @@ const (
// CExternShallow arranges for only non-flood inputs to be fetched when
// curing an [Artifact] available via the external cache.
CExternShallow
// CColourOutput enables output colouring via ANSI control sequences.
CColourOutput
)
// toplevel holds [context.WithCancel] over caller-supplied context, where all