Added template functions for multi-line Description formatting. #1175
Conversation
Any reason this cannot be merged? |
@rliebz or @lynncyrin is there a reason this cannot be merged? |
I can give this a look later probably, but I have a heavy workload right now so it may slip |
Sorry for the delay here, this is a huge improvement! |
I agree, this is a wonderful addition. Thanks! |
09ac54c
into
urfave:master
12 checks passed
12 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Added functions to template system for consistent multi-line Description formatting.
What type of PR is this?
What this PR does / why we need it:
Formatting for multi-line descriptions indents the first line of the description but none of the consecutive lines. This adds functions to the templating that adjusts multi-line printing to automatically add the 3 spaces to every line while maintaining the user defined spacing.
Which issue(s) this PR fixes:
No current issue is open for this.
Testing
Included a test to verify the expected output.
Release Notes