2 ms·
It sends a flag that dangerously allows Claude to just do whatever it wants and only give us the final answer. It doesn't do the back-and-forth or ask questions
by anandchowdhary 1y ago
It sends a flag that dangerously allows Claude to just do whatever it wants and only give us the final answer. It doesn't do the back-and-forth or ask questions.
- CharlesW 1y agoThe `--dangerously-skip-permissions` flag (a.k.a. "YOLO mode") does do the back-and-forth and asks questions, so this is a bit more than that.
- brumar 1y agoYes. I did not look but most probably the non interactive mode flag is used (-p)
- anandchowdhary 1y agoIt does `claude -p "This is the prompt" --dangerously-skip-permissions --output-format json`
- CharlesW 1y agoOh! TIL, thank you.
- stpedgwdgfhgdd 1y agoIteratively working is a MUST for more than trivial fixes. This continuous loop could work for trivial refactorings / maintenance tasks.