raw output export
With the export framework, it would be trivial to implement an export writing the raw command output in a file, to be done either on end of task or on a key press.
I'll wait for a demand to implement it, though.
I'd love it as it'd enable me to use bacon inside Cursor/VSCode
Why ? Some people already use bacon inside vscode, in the integrated terminal.
Hey @Canop. I've got a question. How can I copy the whole output? So I've got a target to run tests with nextest analyser, and I can toggle raw output to see the results (because otherwise the analyser will show that a test failed, but won't show why it happened), and now I want to copy the output to show it to an AI assistant and I can't do it. Because ctrl+c only copies the current visible part of the frame, and not the contents of the whole frame.
@screwyprof You'd like to be able to copy the content of the raw output to the clipboard, probably with a key shortcut ?
@Canop yes, exactly. Let me elaborate on it. In the past I used to use cargo watch. It's definitely has less features, but it was very easy to copy the output.
The reason I need it is to show it to the AI agents so that they could change the code based on the messages. If it helps at the moment I'm working on a pet project and recently added bacon to it.
So now I have bacon open inside VSCode. It builds the projects, runs linters and tests. So when something fails I want to be able to copy the output to show it to Cursor AI so that it could fix it.
I guess soon enough the AI will be smart enough to be able to run a command and fix the errors based on the output on its own, in the meantime I have to do it manually :smile:
@screwyprof Made a dedicated issue for your need: https://github.com/Canop/bacon/issues/282