<#6657 feature: JSON output for `meltano select EX...
# meltano-repo-activity
g
#6657 feature: JSON output for
meltano select EXTRACTOR --list
Issue created by aaronsteers ### Feature scope CLI (options, error messages, logging, etc.) ### Description ## Use case 1 For integrations which want to leverage a tap's list of available and/or selected fields and streams, it would be helpful to have a machine readable output. ## Use case 2 As a resource that users can optionally commit back to the repo. Something like could be run as a recurring job for instance:
Copy code
# Scrape the latest definitions
meltano select tap-postgres --list --format=json > ./extractors/tap-postgres.selections.json
meltano select tap-salesforce --list --format=json > ./extractors/tap-salesforce.selections.json
meltano select tap-adwords --list --format=json > ./extractors/tap-adwords.selections.json

# Add to git and commit
git add ./extractors/tap-postgres.selections.json
git add ./extractors/tap-salesforce.selections.json
git add ./extractors/tap-adwords.selections.json
git commit
Stakeholders and developers alike could consult the schema snapshots for a quick inventory of what is selected and what is available to be selected. meltano/meltano