Skip to content

Get selected version in plugin event handlers #788

Open
@Realiserad

Description

When designing a plugin which can be installed with fisher, you can add event handlers in conf.d which get invoked by fisher when the user installs, updates and removes your plugin.

This is great, and I want to leverage these event handlers to install dependencies for my plugin. However, the version of these dependencies may vary depending on which version of the plugin is being installed, but I cannot see any mechanism in fisher for getting the version of the plugin being installed. For example, if the user runs fisher install some/plugin@v1 I would like to get v1 as an argument somewhere.

Is this possible?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or bug fix

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions