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

Improvement: Display a plugin's post install message if available #1986

Merged

Conversation

erran
Copy link
Contributor

@erran erran commented Jul 26, 2013

This change checks if the Gem::Specification was given a post install message (spec.post_install_message = "Thanks for installing!"). If it's found it is printed to the screen using env[:ui].info. This helps plugins that need just a bit of extra set up explaint to the user. See my latest pull request on Bindler fgrehm/bindler#14.

@fgrehm
Copy link
Contributor

fgrehm commented Jul 30, 2013

@ipwnstuff I like the idea :)

@mitchellh what do u think about this? should it go on 1.3+ or can we add it to 1.2?

@patcon
Copy link

patcon commented Jul 31, 2013

Nice 👍

This would be super-helpful for those who are building plugins that are disabled by default

@mitchellh
Copy link
Contributor

This is great. Merging. Thanks so much!

mitchellh added a commit that referenced this pull request Aug 9, 2013
…essage

commands/plugin/install: Display a plugin's post install message if available
@mitchellh mitchellh merged commit 8e34224 into hashicorp:master Aug 9, 2013
@fgrehm
Copy link
Contributor

fgrehm commented Aug 9, 2013

👍

@erran
Copy link
Contributor Author

erran commented Aug 9, 2013

You're welcome. Glad I could contribute.

@erran erran deleted the feature/plugin-post-install-message branch August 9, 2013 19:30
@ghost ghost locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants