MCPcopy Create free account
hub / github.com/SmartThingsCommunity/smartthings-cli / hasInput

Function hasInput

src/lib/command/input-processor.ts:37–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36export const fileInputProcessor = <T>(filename?: string): InputProcessor<T> => {
37 const ioFormat: IOFormat = filename ? formatFromFilename(filename) : 'json'
38
39 const hasInput = (): boolean => !!filename
40

Callers 2

update.test.tsFile · 0.85
generate.test.tsFile · 0.85

Calls 2

stdinIsTTYFunction · 0.85
readDataFromStdinFunction · 0.85

Tested by

no test coverage detected