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

Feature request: Process Promise verbose() #710

Closed
lquixada opened this issue Dec 22, 2023 · 3 comments
Closed

Feature request: Process Promise verbose() #710

lquixada opened this issue Dec 22, 2023 · 3 comments

Comments

@lquixada
Copy link

When we set $.verbose = true, we can make specific $ calls to go silent with .quiet().
On the flip side, when we set $.verbose = false, there isn't a way to make a $ call go verbose.

It would be cool to have a .verbose() method for Process Promises.

@antongolub
Copy link
Contributor

Seems resolved via #733

$.verbose = false
const p = await $({verbose: true})`echo foo`

@wpchen
Copy link

wpchen commented May 23, 2024

+1 to .verbose()

@antongolub's suggestion is functionally equivalent but is significantly less ergonomic (ex: if I'm temporarily adding .verbose() during debugging, it's a lot easier to append/comment out .verbose() than it is to insert/delete ({verbose: true})

@antongolub
Copy link
Contributor

Ok, just for symmetry with ProcessPromise.quiet() :)

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

4 participants