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 newlines between flags in help output. #91

Merged
merged 1 commit into from
Mar 28, 2018
Merged

Add newlines between flags in help output. #91

merged 1 commit into from
Mar 28, 2018

Conversation

lkysow
Copy link
Member

@lkysow lkysow commented Mar 28, 2018

  • This will make the help output easier to read. To accomplish this, we
    needed to not set defaults via cobra because then the default would be
    printed on another line which looks bad. So now we set the defaults
    ourselves.
  • Also had to update spf13/pflag to the version that supports newlines
    in flag descriptions.

Fixes #54

- This will make the help output easier to read. To accomplish this, we
needed to not set defaults via cobra because then the default would be
printed on another line which looks bad. So now we set the defaults
ourselves.
- Also had to update spf13/pflag to the version that supports newlines
in flag descriptions.
@codecov
Copy link

codecov bot commented Mar 28, 2018

Codecov Report

Merging #91 into master will increase coverage by 0.34%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
+ Coverage   63.44%   63.79%   +0.34%     
==========================================
  Files          40       40              
  Lines        1937     1950      +13     
==========================================
+ Hits         1229     1244      +15     
+ Misses        644      642       -2     
  Partials       64       64
Impacted Files Coverage Δ
cmd/server.go 79.36% <100%> (+3.43%) ⬆️
server/events/vcs/vcs.go 0% <0%> (ø) ⬆️
server/server.go 70.08% <0%> (ø) ⬆️
server/events/command_handler.go 85.71% <0%> (+1.84%) ⬆️
server/events/models/models.go 80.55% <0%> (+10.99%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d1722b...74d4cc6. Read the comment docs.

@lkysow lkysow merged commit 9e47d11 into master Mar 28, 2018
@lkysow lkysow deleted the newline-flags branch March 28, 2018 19:26
msarvar pushed a commit that referenced this pull request Aug 20, 2021
* Began channel refactoring

* Fixing refactoring logic

* Replacing terraformOutputChan

* Making suggested changes

* Changing attribute declarations

* Fixed channel logic

* Formatting

* Changing tests to utilize mocks

* Adding go files

* Adding suggested changes

* Suggested changes before merging

* Reformatting

* Deleting unnecesary lines

* Buffer cleanup logic

* Buffer cleanup & Testing

* Trying to make test pass

* Suggested changes

* Fixing test

* Fixing failing test

* Error checking

* Comment improvements

* Adding buffer clearing for apply workflow

* Removing clearing for apply workflow
jamengual pushed a commit that referenced this pull request Nov 23, 2022
* Began channel refactoring

* Fixing refactoring logic

* Replacing terraformOutputChan

* Making suggested changes

* Changing attribute declarations

* Fixed channel logic

* Formatting

* Changing tests to utilize mocks

* Adding go files

* Adding suggested changes

* Suggested changes before merging

* Reformatting

* Deleting unnecesary lines

* Buffer cleanup logic

* Buffer cleanup & Testing

* Trying to make test pass

* Suggested changes

* Fixing test

* Fixing failing test

* Error checking

* Comment improvements

* Adding buffer clearing for apply workflow

* Removing clearing for apply workflow
meringu pushed a commit to meringu/atlantis that referenced this pull request May 29, 2023
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.

1 participant