GitHub
06/18/2025, 9:24 PMmeltano add no longer requires specifying a plugin type, i.e. meltano add tap-github works too
Pull request opened by edgarrmondragon
## Description
## Related Issues
• Partial #7066
• Downstream Hub changes: meltano/hub#2040
## Summary by Sourcery
Enable plugin type inference in the meltano add command so users no longer must specify the plugin type positionally; introduce a --plugin-type option, deprecate the old positional type argument, and update addition logic to derive types from plugin name prefixes.
New Features:
• Allow meltano add to infer plugin type from plugin name prefixes (tap-, target-, utility) when the type is not explicitly provided.
• Add a --plugin-type option for specifying the plugin type explicitly.
Enhancements:
• Deprecate the positional plugin type argument and emit a warning when it’s used.
• Introduce PluginTypeArg click parameter and _infer_plugin_type helper for type inference and validation.
Tests:
• Add a test to verify adding multiple plugins without specifying their types uses inferred types correctly.
meltano/meltanoGitHub
06/18/2025, 9:24 PMmeltano add no longer requires specifying a plugin type, i.e. meltano add tap-github works too
Pull request ready for review by edgarrmondragon
meltano/meltanoGitHub
06/24/2025, 4:06 AM