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

Disable strict cli args to empower plugins #557

Merged
merged 1 commit into from
Apr 5, 2022

Conversation

TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Apr 4, 2022

Right now, plugins have no way to be configured from the CLI. Plugins could try to load .env or environment variables, or they could look for custom options in the bsconfig. However, there is a valid use case for supporting custom cli arguments.

I considered allowing plugins to contribute cli argument specifications, but that can happen in a future update.

The current solution is: don't fail on unknown cli arguments. it's a one-liner, and solves the problem.

@TwitchBronBron TwitchBronBron merged commit 626e786 into master Apr 5, 2022
@TwitchBronBron TwitchBronBron deleted the plugins-cli-args branch April 5, 2022 14:50
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

1 participant