gamesheet_sdk.admin.cli.shared.rendering module¶
Rendering utilities for CLI commands.
- gamesheet_sdk.admin.cli.shared.rendering.render_get_command(data, output_format, output_path, fields_spec=None)[source]¶
Render get command output (single object as key-value pairs).
- Parameters:
data (dict[str, Any] | BaseModel) – The object to render (dict or pydantic model)
output_format (str) – Output format (json, yaml, csv, tsv, or tabulate format)
output_path (str | None) – Optional file path to write output to
fields_spec (str | None) – Optional comma-separated field names to include
- gamesheet_sdk.admin.cli.shared.rendering.render_list_command(items, output_format, output_path, columns_spec=None)[source]¶
Render list command output (table of objects).
- Parameters: