MCPcopy Index your code
hub / github.com/anomalyco/opencode / dim

Function dim

packages/opencode/src/cli/cmd/account.ts:14–14  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

12const println = (msg: string) => Effect.sync(() => UI.println(msg))
13
14const dim = (value: string) => UI.Style.TEXT_DIM + value + UI.Style.TEXT_NORMAL
15
16const activeSuffix = (isActive: boolean) => (isActive ? dim(" (active)") : "")
17

Callers 3

activeSuffixFunction · 0.85
formatAccountLabelFunction · 0.85
formatOrgLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected