MCPcopy Create free account
hub / github.com/cloudconvert/cloudconvert-cli / createTaskData

Function createTaskData

src/commands/file-job.ts:67–73  ·  view source on GitHub ↗
(definition: FileJobCommandDefinition, argv: CliArguments)

Source from the content-addressed store, hash-verified

65}
66
67function createTaskData(definition: FileJobCommandDefinition, argv: CliArguments): TaskData {
68 return {
69 operation: definition.operation,
70 ...(definition.format ? { output_format: argv.format as string } : {}),
71 ...collectTaskParameters(argv)
72 };
73}

Callers 1

createFileJobCommandFunction · 0.85

Calls 1

collectTaskParametersFunction · 0.85

Tested by

no test coverage detected