Skip to content

Load subcommands via bmi.plugins entry point.#5

Open
mcflugen wants to merge 1 commit intomasterfrom
mcflugen/add-subcommand-plugins
Open

Load subcommands via bmi.plugins entry point.#5
mcflugen wants to merge 1 commit intomasterfrom
mcflugen/add-subcommand-plugins

Conversation

@mcflugen
Copy link
Copy Markdown
Member

This pull request adds a plugin framework to the bmi command as a way of loading additional subcommands. Plugins must register themselves under bmi.plugins and point to a function whose only input argument is an ArgumentParser object. The new command will then be available as a subcommand to bmi.

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.

1 participant