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
Pretty print the Python code that is compiled for a .cgx component
(with rich when available, plain print otherwise) and exit, instead of
rendering the component. This provides a direct way to inspect the
generated code, complementing the CGX_DEBUG temp-file flow.
The printing logic is extracted from _write_debug_file into a shared
print_source helper, and a generate_source function is added to the
compiler. format_code now also falls back to unformatted code when
ruff is not installed, since the CLI can run without dev dependencies.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments