MCPcopy Create free account
hub / github.com/cacjs/cac / getFileName

Function getFileName

src/utils.ts:150–153  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

148}
149
150export function getFileName(input: string): string {
151 const m = FILE_NAME_RE.exec(input)
152 return m ? m[1] : ''
153}
154
155export function camelcaseOptionName(name: string): string {
156 // Camelcase the option name

Callers 1

parseMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected