MCPcopy Create free account
hub / github.com/decaporg/decap-cms / commandOperations

Function commandOperations

packages/decap/src/commands.ts:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42export function commandOperations(): Operation[] {
43 return (Object.values(operations) as Operation[]).filter(op => op.cli);
44}
45
46/**
47 * Every flag the parser must treat as a switch: the global ones and each

Callers 3

switchFlagsFunction · 0.85
findCommandFunction · 0.85
commandListFunction · 0.85

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected