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 11mo 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 11mo 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 11mo agoYes. I did not look but most probably the non interactive mode flag is used (-p)
- anandchowdhary 11mo agoIt does `claude -p "This is the prompt" --dangerously-skip-permissions --output-format json`
- CharlesW 11mo agoOh! TIL, thank you.
- stpedgwdgfhgdd 11mo agoIteratively working is a MUST for more than trivial fixes. This continuous loop could work for trivial refactorings / maintenance tasks.