This repository has been archived by the owner on Jul 22, 2019. It is now read-only.
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.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds the following new commands:
buffalo plugins install pkg pkg pkg...
buffalo plugins remove pkg pkg pkg...
It also adds the concept of a
./config/buffalo-plugins.toml
file that acts as the official list of plugins the application depends on. This is file is optional, until using the new theinstall
andremove
commands.With no config file the output of
buffalo plugins list
andplugins.List()
does not change. Once a configuration file is in place, then that file will dictate the output of those commands.To add support for the plugin manager, one can either manually edit
./config/buffalo-plugins.toml
or letbuffalo plugins install
create it for you.The
buffalo-pop
plugin was automatically added because the application in this example is a Buffalo application that uses Pop.New plugins can be install in bulk with the
install
commandFinally plugins can be removed with the
remove
command. This only removes them from the config file, not from the users system.