MCPcopy Create free account
hub / github.com/cameri/nostream / formatLabel

Function formatLabel

src/cli/commands/config.ts:60–66  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

58}
59
60const formatLabel = (key: string): string => {
61 return key
62 .split(/[_\-.]/)
63 .filter(Boolean)
64 .map((part) => part.charAt(0).toUpperCase() + part.slice(1))
65 .join(' ')
66}
67
68const restartRelay = async (): Promise<number> => {
69 const spinner = ora('Restarting relay...').start()

Callers 1

runConfigEnvValidateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected