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

Improve helptext template #278

Merged
merged 1 commit into from
Apr 17, 2019
Merged

Conversation

carolynvs
Copy link
Member

  • Fix the template to work for resources nested at lower levels, like
    porter mixin feed, where feed is a resource.
  • Use go functions in the template to decide whether or not to show/hide
    a section or a command instead of template conditionals
  • Do not show the help command itself
  • Show commands (like install) before aliased commands or meta commands (like version) which aren't as common/important

* Fix the template to work for resources nested at lower levels, like
porter mixin feed, where feed is a resource.
* Use go functions in the template to decide whether or not to show/hide
a section or a command instead of template conditionals
* Do not show the help command itself
* Show commands (like install) before aliased commands
@ghost ghost assigned carolynvs Apr 17, 2019
@ghost ghost added the review label Apr 17, 2019
@carolynvs carolynvs merged commit 13b7aa0 into getporter:master Apr 17, 2019
@ghost ghost removed the review label Apr 17, 2019
@carolynvs carolynvs deleted the improve-helptext branch April 17, 2019 22:09
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

3 participants