MCPcopy Create free account
hub / github.com/Effect-TS/effect / formatSubcommandName

Function formatSubcommandName

packages/effect/src/unstable/cli/CliOutput.ts:417–417  ·  view source on GitHub ↗
(name: string, alias: string | undefined)

Source from the content-addressed store, hash-verified

415}
416
417const formatSubcommandName = (name: string, alias: string | undefined): string => alias ? `${name}, ${alias}` : name
418
419/**
420 * Color functions interface for help formatting.

Callers 1

formatHelpDocImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected