heroku / heroku-connect-plugin

CLI plugin for Heroku Connect (experimental)
Apache License 2.0
23 stars 8 forks source link

add -x or similar command to get deep=true info #48

Open cdueltgen opened 7 years ago

cdueltgen commented 7 years ago

It would be great if there was a way to pass a flag to connect:info to get the rest of the information that comes with deep=true. This would be especially handy for the case of having to use sudo to get at customer info like row counts without having to fight with API tokens and curl.

sigmavirus24 commented 7 years ago

@cdueltgen can you provide me with other Heroku CLI commands that accept -x or with example usage? I think this would be fairly easy to add.

gulopine commented 7 years ago

I don't think there are other CLI commands with an equivalent of our deep=true API behavior. Supporting --json along with an individual connect:mapping:info might be sufficient. At least then the data will be available, even if we opt not to grab all the info for all mappings in a single command.