Skip to content

feat: allow writing output to stdio#5

Merged
joshprk merged 1 commit into
joshprk:mainfrom
HigherOrderLogic:main
Jul 4, 2025
Merged

feat: allow writing output to stdio#5
joshprk merged 1 commit into
joshprk:mainfrom
HigherOrderLogic:main

Conversation

@HigherOrderLogic

Copy link
Copy Markdown
Contributor

Sometimes, it's more convenient to write the output to stdio so that user can pipe the output to another command.

@joshprk

joshprk commented Jul 4, 2025

Copy link
Copy Markdown
Owner

Looks good. The code I wrote likely needs to be refactored eventually to instead expose a public interface with the cli being a thin frontend for it, but I think this is a good change in the meantime.

Just asking as I don't want to bump the version so quickly, is there an important use case in nixpkgs that's blocked because this isn't in the current release?

@joshprk
joshprk merged commit c6b6b5d into joshprk:main Jul 4, 2025
1 check passed
@HigherOrderLogic

Copy link
Copy Markdown
Contributor Author

Just asking as I don't want to bump the version so quickly, is there an important use case in nixpkgs that's blocked because this isn't in the current release?

Hmm, I'm not sure. I'm adding this mainly for my use case, where I need to do some string manipulation in bash before writing to a file.

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.

2 participants