<#7066 feat: remove requirement for `PLUGIN_TYPE` ...
# meltano-repo-activity
g
#7066 feat: remove requirement for
PLUGIN_TYPE
positional arg in CLI commands
meltano add
,
meltano remove
,
meltano install
Issue created by tayloramurphy Currently in the CLI only the
meltano add
and
meltano remove
commands require you to specify the plugin type. Other commands default to just referencing the name while enabling a user to specify
--plugin-type
if necessary. Commands that accept `--plugin-type`: • invoke • lock • config Proposal Drop the requirement for when using meltano add and remove so that users can type:
meltano add tap-gitlab
or
meltano remove target-postgres
and Meltano can just figure that out. When there is a collision a we can error out, tell the user there are multiple plugins with that name present and have them disambiguate. When a user is adding a
--custom
plugin, we can infer the type from the name (pattern match on
tap
and
target
) and/or prompt them for a type. We should likely just ask is this an extractor, loader, or a non-connector (utility). Related: • #6866 • #3263 meltano/meltano