MCPcopy Index your code
hub / github.com/cameri/nostream / matchesOption

Function matchesOption

src/clean-db.ts:93–95  ·  view source on GitHub ↗
(arg: string, option: string)

Source from the content-addressed store, hash-verified

91}
92
93const matchesOption = (arg: string, option: string): boolean => {
94 return arg === option || arg.startsWith(`${option}=`)
95}
96
97export const parseCleanDbOptions = (args: string[]): CleanDbOptions => {
98 const options: CleanDbOptions = {

Callers 1

parseCleanDbOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected