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

Add --silent option to vuepress build #563

Closed
avishnyakov opened this issue Jun 10, 2018 · 1 comment
Closed

Add --silent option to vuepress build #563

avishnyakov opened this issue Jun 10, 2018 · 1 comment

Comments

@avishnyakov
Copy link

avishnyakov commented Jun 10, 2018

Feature request

Add --silent option to vuepress build

What problem does this feature solve?

  • messy output during automated builds
  • messy output during dozen builds in parallel

What does the proposed API look like?

  • vuepress build --silent
  • vuepress build -s

How should this be implemented in your opinion?

vuepress build --silent / vuepress build -s should not produce output returning 0 on success and non-0 on failure

Are you willing to work on this yourself?**

No I am not so good in it

@ulivz ulivz added type: feature request Request to add a new feature and removed type: feature request Request to add a new feature labels Jul 6, 2018
@ulivz
Copy link
Member

ulivz commented Jul 6, 2018

This can be done by redirecting stdout/stderr to /dev/null.

yarn build > "/dev/null" 2>&1
# or
# npm run build > "/dev/null" 2>&1

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