Skip to content

Copy terminal output to clipboard! 📋 #6

@lunmanlee

Description

@lunmanlee

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions