code2prompt icon indicating copy to clipboard operation
code2prompt copied to clipboard

Output to stdout

Open williamjameshandley opened this issue 8 months ago • 1 comments

Great tool!

For some of my vim-based workflows, it would be great if

a) this followed UNIX principles such that if I provide the filename '-' it outputs to stdout. b) there was an option to silence the other stdout output:

▹▹▹▹▸ Done!                                                                                     [✓] Copied to clipboard successfully.
[✓] Prompt written to file

Happy to have a go at submitting a PR if you think this is a good idea.

williamjameshandley avatar Apr 07 '25 15:04 williamjameshandley

Hello @williamjameshandley,

That's a really good idea !

I was about to refactor what should be displayed or not to provide more useful infos for user and be able to display/hide it in order to use it with CLI. I would love to hear your opinion on the API I'm preparing and get your insights about code2prompt and how we could integrate this feature seamlessly. You can email me or chat in the Discord.

Cheers 🍻

ODAncona avatar Apr 07 '25 19:04 ODAncona