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

feat: add ProcessPromise .verbose() for symmetry with.quiet() #820

Merged
merged 1 commit into from
May 24, 2024

Conversation

antongolub
Copy link
Contributor

relates #710

const p = $`echo foo`
p.quiet()        // enable silent mode
p.quiet(false)   // then disable
p.verbose()      // enable verbose/debug mode
p.verbose(false) // and turn it off

await p
  • Tests pass

@antonmedv
Copy link
Collaborator

Let's also improve docs: https://google.github.io/zx/configuration#verbose

Let's specify the difference between quiet & verbose? Then to use one or another?

@antonmedv antonmedv merged commit 491678f into google:main May 24, 2024
21 checks passed
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.

None yet

2 participants