Skip to content

Conversation

@asmacdo
Copy link
Member

@asmacdo asmacdo commented Nov 12, 2025

This assists with a common workflow, where I need to execute a script, and copy to clipboard both the script and result in markdown format so I can paste to github comment/issue.

First usage: https://github.com/con/yolo/pull/7#discussion_r2518829449

@asmacdo
Copy link
Member Author

asmacdo commented Nov 12, 2025

From @yarikoptic would be nice to wrap with

too! Lets add flags: --detail-script --detail-output (--details does both)

<details>
<summary></summary> 

```shell

```
</details>

@asmacdo
Copy link
Member Author

asmacdo commented Nov 13, 2025

Updated output

Exectuting exclip ./hi.sh produces:

hi.sh
#!/bin/sh
echo "HI"
Output
HI

Exectuging exclip --plain ./hi.sh produces:

./hi.sh

#!/bin/sh
echo "HI"
HI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant