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

Consider removing functions unrelated to running command line programs #5

Open
lpil opened this issue Feb 28, 2024 · 1 comment
Open

Comments

@lpil
Copy link

lpil commented Feb 28, 2024

Hello!

This library has some seemingly unrelated functions also exported. This made it harder for me to understand how to use this library, and I don't think folks will be adding this library for ansi colour codes.

I think it'd be good to focus this library on running commands and not having these other features.

Thanks,
Louis

@tynanbe
Copy link
Owner

tynanbe commented Feb 28, 2024

I agree.

When I get some time and motivation, I'd like to have a builder API with inspiration from Rust's std::process::Command and Deno's Deno.Command, e.g. with functions to add one or more args, set options for capturing stdout/stderr, and get various types of return information (including a simple success bool, status codes, and a full record of data).

@tynanbe tynanbe mentioned this issue Feb 28, 2024
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

No branches or pull requests

2 participants