MCPcopy Index your code
hub / github.com/cloudgraphdev/cli / parseArgv

Function parseArgv

test/helpers/index.ts:113–127  ·  view source on GitHub ↗
(
  InitClass: InitCommandClass
)

Source from the content-addressed store, hash-verified

111}
112
113export const parseArgv = async (
114 InitClass: InitCommandClass
115): Promise<
116 Interfaces.ParserOutput<
117 any,
118 {
119 [name: string]: string
120 }
121 >
122> => {
123 return oclifParser.parse(
124 InitClass.argv,
125 InitClass.ctor as Interfaces.Input<Interfaces.FlagOutput>
126 )
127}
128
129export const flagTestHelper = async (
130 flag: string,

Callers 1

flagTestHelperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected