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

Function formatOrgChoiceLabel

packages/opencode/src/cli/cmd/account.ts:23–24  ·  view source on GitHub ↗
(account: { email: string }, org: { name: string }, isActive: boolean)

Source from the content-addressed store, hash-verified

21 `${account.email} ${dim(account.url)}${activeSuffix(isActive)}`
22
23const formatOrgChoiceLabel = (account: { email: string }, org: { name: string }, isActive: boolean) =>
24 `${org.name} (${account.email})${activeSuffix(isActive)}`
25
26export const formatOrgLine = (
27 account: { email: string; url: string },

Callers 1

account.tsFile · 0.85

Calls 1

activeSuffixFunction · 0.85

Tested by

no test coverage detected