-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
you can do for exampleaws ec2 describe-route-tables --filters Name=vpc-id,Values=vpc-123456 | pbcopy and the output will be copied to clipboard.
i've been trying out doing infrastructure debugging with claude code, the process is usually:
- i give claude the error msg and ask what's wrong
- claude tries to run aws cli commands and it fails
- it tries other debugging tools without using aws cli
so now I've updated claude's memory to always give me the aws cli command to run instead of running it autonomously.
i also ask it to add \ when the command is long than a line and to give me the command on a new line for ease of copy and also to add | pbcopy in the end so i can just run the command myself, paste the result back to claude.
Reactions are currently unavailable