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/flag quiet #185

Merged

Conversation

patil-ashutosh
Copy link
Contributor

Description

Sometimes developers choose to not see all logs/output of your command and just see success or failure as the outcome. Hence adding --quiet or -q flag to 1build command execution will result in just executing the command but not showing the entire output of it.

Fixes/Implements: #140

New dependencies introduced

  • Viper
    Reason: Viper has the ability to bind to flags. To bind flag --quiet flag throughout project(particularly exec.go)

Checklist

  • [N] I have added tests that prove my fix is effective or that my feature works
  • [Y] I have update README (If needed)

@welcome
Copy link

welcome bot commented Mar 16, 2020

🙏 Thanks for opening this pull request! Please check out our contributing guidelines.

@auto-comment
Copy link

auto-comment bot commented Mar 16, 2020

🙏 Thank your for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible

Copy link
Owner

@gopinath-langote gopinath-langote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashupatil96 Thanks for the PR.

  • Please address comments & let me know if you any questions!

README.md Outdated Show resolved Hide resolved
cmd/exec/exec.go Show resolved Hide resolved
cmd/exec/exec.go Outdated Show resolved Hide resolved
cmd/exec/exec.go Outdated Show resolved Hide resolved
cmd/exec/exec.go Show resolved Hide resolved
cmd/root.go Outdated Show resolved Hide resolved
@gopinath-langote
Copy link
Owner

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 1
           

See the complete overview on Codacy

README.md Outdated Show resolved Hide resolved
@gopinath-langote
Copy link
Owner

Let me know if you need any help from my side.

@gopinath-langote gopinath-langote added the new_feature New features label Mar 30, 2020
@gopinath-langote gopinath-langote added this to the v1.5.0 milestone Mar 30, 2020
@patil-ashutosh
Copy link
Contributor Author

@gopinath-langote Please Review.

@gopinath-langote
Copy link
Owner

@ashupatil96 LGTM.

Thanks for the PR. This was a long waiting feature for me.

@gopinath-langote gopinath-langote merged commit de786fe into gopinath-langote:master Apr 1, 2020
@welcome
Copy link

welcome bot commented Apr 1, 2020

Congrats on merging your first pull request! We here at 1build are proud of you! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new_feature New features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants