-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return output in custom format #96
Comments
Interesting idea. I'd probably want to have some kind of formatter class for outputs here so they could be overridden globally. Do you have an example of the data structure that would be of benefit here? |
No specific example for the data structure... i'd say fit the data in a key/value format |
I found this thread searching for the same option. In my case, I'm trying to retrieve a list of databases via |
The best way to implement this would be through the use of a command line option e.g. |
I've just pushed some code into a new branch #129 to test out how this could work. If you could test this out to make sure it matches what you're expecting ( |
so far, so good
|
Is your feature request related to a problem? Please describe.
It would be great to have commands output in custom formats, let's say in json, or csv, which would allow me to use it in custom CI tools
Describe the solution you'd like
This would output the domains in a json format instead of the current fancy table output.
It would be an out of the box alternative to
drush ac-domain-list --format=export
Describe alternatives you've considered
Custom php code to gather info from cloud api v2 using typhonius/acquia-php-sdk-v2
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: