Open ayalash opened 4 years ago
In slash's documentation, there is an example for the usage of PluginInterface configure_argument_parser and configure_from_parsed_args methods for allow passing command-line arguments for a plugin: https://slash.readthedocs.io/en/develop/customizing_slash.html#complete-example
PluginInterface
configure_argument_parser
configure_from_parsed_args
IMO it will be better to use CmdLine overriding for this usage. In addition, I tried to think when should one use the methods (instead of the overriding) and I couldn't find an example.
CmdLine
@vmalloc What do you think?
I'm ok with changing it to Cmdline only
In slash's documentation, there is an example for the usage of
PluginInterface
configure_argument_parser
andconfigure_from_parsed_args
methods for allow passing command-line arguments for a plugin: https://slash.readthedocs.io/en/develop/customizing_slash.html#complete-exampleIMO it will be better to use
CmdLine
overriding for this usage. In addition, I tried to think when should one use the methods (instead of the overriding) and I couldn't find an example.