Command Mode¶
Generate Commands Only¶
ask -co "find all jpeg files modified in last 24 hours"
-co keeps model output constrained to shell command generation.
Execute with Confirmation¶
ask -co -no "rename all .jpeg files to .jpg recursively"
Behavior:
- Generate command
- Show confirmation prompt
- Execute only if you confirm
Safety Recommendations¶
- Prefer reviewing generated commands before execution.
- Use narrower prompts that mention exact paths/scopes.
- Avoid broad destructive prompts without path constraints.