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

Make xtrace optional #104

Open
chrisalbright opened this issue Nov 13, 2023 · 2 comments
Open

Make xtrace optional #104

chrisalbright opened this issue Nov 13, 2023 · 2 comments

Comments

@chrisalbright
Copy link

xtrace output is useful in some cases, but in general would be better if not enabled. This is on by default and it seems there is no way to disable it for xc. A -x or -v flag would be useful for enabling this output when desired.

@joerdav
Copy link
Owner

joerdav commented Nov 14, 2023

Thanks for looking at xc, I would be open to creating a flag to disable this. But I think this is a common feature of other task runners I've seen, to log out what's about to happen.

But open to be persuaded otherwise if there's a compelling case to have it off by default.

@chrisalbright
Copy link
Author

Unless I'm trying to work out something that's going wrong I find the verbose output to be disruptive, personally. I've been tinkering with it for a while. I'll open a PR shortly and we can see what you think. I started with a global flag, but after thinking a bit it seems like something worth setting at the task level. Maybe with a global disable?

Once I have the PR open, we can see what works best.

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