GitHub
09/04/2025, 12:30 AMmeltano config subcommands
Pull request opened by edgarrmondragon
## Description
## Related Issues
• Closes #7136
## Summary by Sourcery
Refactor the Meltano CLI config commands to invert the order of subcommand and plugin arguments, introducing shared helper functions for plugin retrieval, settings, and invoker setup, and updating code, documentation, and tests to use the new command structure.
Enhancements:
• Invert the positional arguments for all meltano config subcommands so the subcommand now precedes the plugin name (e.g., meltano config list <plugin>).
• Introduce internal helper functions (_get_plugin, _get_settings, _get_invoker) to consolidate plugin/context setup across config commands.
• Centralize and simplify session, tracker, and safe‐flag handling in the config CLI logic, and refactor the InteractiveConfig initializer accordingly.
• Update documentation and tests to align with the new meltano config <subcommand> <plugin> command format.
meltano/meltanoGitHub
09/04/2025, 1:36 AM