[Plugin] Custom flags in external plugins not discovered when enabled using kwargs #871
Labels
Bug
Bug report in proxy server
Good First Issue
Issues for new contributors to pick-up
Plugin
Related to plugin code (not core)
Describe the bug
DOES NOT WORK
proxy.Proxy(plugins=["...", "...",])
will not result in discovering custom flags defined in the external plugins.FOLLOWING 2 SCENARIO WORKS
proxy.Plugin(*("--plugin", "...", "--plugin", "..."))
or
proxy --plugin ....
FIX
args.plugins
must be resolved prior to callingFlags.parse
for custom flag discovery.The text was updated successfully, but these errors were encountered: