core
core copied to clipboard
Review design of CLI plugins
Respect to the PR: https://github.com/metacall/core/pull/298 We should take some considerations:
- Should we use a different name for core_plugin? Like cli_plugin or cli_core_plugin?
- We should load only the cli/core_plugin when we run metacallcli
- Should we extend the execution path mechanism into plugin_extension? so instead of using an environment variable for locating the plugins, we can use our existing methodology for locating plugins? This will easily solve the point 2.
I have chosen to just add support for sub folders in plugin_extension https://github.com/metacall/core/pull/306