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 const ioFormat: IOFormat = filename ? formatFromFilename(filename) : 'json'
36
37 const hasInput = (): boolean => !!filename
38
39 const read = async (): Promise<T> => {
40 if (!filename) {

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