Sample CLI
gway to-html
Signature
(obj, **kwargs)
Docstring
Convert an arbitrary Python object to structured HTML.
Args:
obj: The object to convert.
**kwargs: Optional keyword arguments for customization:
- class_prefix: Prefix for HTML class names.
- max_depth: Maximum recursion depth.
- skip_none: Skip None values.
- pretty: Insert newlines/indentation.
Returns:
A string of HTML representing the object.