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
The outputs are printed by every command separately. It would be easier for maintaining to have a single place for printing output.
The function print_output(output_data, format, delimiter, template_string) where output_data could be a dict or list of dicts, and format could be table, csv, JSON, YAML, env (format for environment variables), value (values only), template (see #167). When printing in csv format, the user can define custom delimiter, e.g. tab instead of comma. More formats could be added easily as we have all printing in single place.
The text was updated successfully, but these errors were encountered:
The outputs are printed by every command separately. It would be easier for maintaining to have a single place for printing output.
The function
print_output(output_data, format, delimiter, template_string)
where output_data could be a dict or list of dicts, and format could be table, csv, JSON, YAML, env (format for environment variables), value (values only), template (see #167). When printing in csv format, the user can define custom delimiter, e.g. tab instead of comma. More formats could be added easily as we have all printing in single place.The text was updated successfully, but these errors were encountered: