Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raw output export #240

Open
Canop opened this issue Oct 13, 2024 · 6 comments
Open

raw output export #240

Canop opened this issue Oct 13, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@Canop
Copy link
Owner

Canop commented Oct 13, 2024

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.

@Canop Canop added the enhancement New feature or request label Oct 13, 2024
@Bolognafingers
Copy link

I'd love it as it'd enable me to use bacon inside Cursor/VSCode

@Canop
Copy link
Owner Author

Canop commented Dec 6, 2024

Why ? Some people already use bacon inside vscode, in the integrated terminal.

@screwyprof
Copy link

screwyprof commented Dec 21, 2024

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.

@Canop
Copy link
Owner Author

Canop commented Dec 21, 2024

@screwyprof You'd like to be able to copy the content of the raw output to the clipboard, probably with a key shortcut ?

@screwyprof
Copy link

screwyprof commented Dec 21, 2024

@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 😄

@Canop
Copy link
Owner Author

Canop commented Dec 22, 2024

@screwyprof Made a dedicated issue for your need: #282

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants