Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.ts
File · 0.85
generate.test.ts
File · 0.85
Calls
2
stdinIsTTY
Function · 0.85
readDataFromStdin
Function · 0.85
Tested by
no test coverage detected