You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fedcloud client already provides output in different formats: text, JSON, YAML. However, there are requests to provide different output formats, e.g. bash shell, CSV, Terraform. Developing and maintaining all formatters in the main code of fedcloud client is not feasible, therefore, it would be better to make the formatter pluggable.
The design is as follows:
Users can specify output formatter functions via option, e.g. --output-formatter fedcloud.terraform
fedcloud will send the output as Python objects (string, list, dict) to the formatter, instead of printing them to terminal.
the formatter will print outputs to terminal accordingly.
The text was updated successfully, but these errors were encountered:
fedcloud client already provides output in different formats: text, JSON, YAML. However, there are requests to provide different output formats, e.g. bash shell, CSV, Terraform. Developing and maintaining all formatters in the main code of fedcloud client is not feasible, therefore, it would be better to make the formatter pluggable.
The design is as follows:
--output-formatter fedcloud.terraform
The text was updated successfully, but these errors were encountered: