Explosion-Scratch/claude-unofficial-api

echo "prompt" | claude doesn't work

Closed this issue · 0 comments

oxmwh commented

If you use the cli like this: echo "hello" | claude --key key
This is what you get:

(node:18673) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Welcome to the Claude CLI!
? Select a conversation: Start new conversation
? (claude-2) >

and it exits and nothing happens