Add `--interactive` flag to `meltano add`
In reviewing internally in the team, a theoretical install script sample came up...
# Install
meltano add tap-gitlab
meltano add target-snowflake
meltano add superset
...config...
# Run
meltano run tap-gitlab target-snowflake superset
In this above form, however, we haven't yet defined how each plugin gets configured. If we build the feature in Add `--interactive --all` CLI flags in `meltano... (#3227 - closed), then we can use this form...
# Install
meltano add tap-gitlab
meltano add target-snowflake
meltano add superset
# Config
meltano config tap-gitlab --interactive --all
meltano config target-snowflake --interactive --all
meltano config superset --interactive --all
# Run
meltano run tap-gitlab target-snowflake superset
But we could even take this one step further by adding an --interactive flag into the add command, so the entire installation and config can be handled interactively in one command per plugin.
# Install and config
meltano add tap-gitlab --interactive
meltano add target-snowflake --interactive
meltano add superset --interactive
# Run
meltano run tap-gitlab target-snowflake superset
Cc @tayloramurphy, @afolson, @DouweM
This is actually very analogous to the experience you get in Meltano UI: when adding a new extractor, Meltano installs the plugin and then immediately prompts the user for config information.
Edited by AJ Steers