Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 839 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 839 Bytes

PyPI version CI status black

Black-cgx

Format CGX files with black.

Usage

# Install in your environment (for example with poetry)
poetry add -D black-cgx
# Show help for the tool
poetry run black-cgx -h
# By default, will format every cgx file in current folder (recursively)
poetry run black-cgx
# Just check if there would be any changes
poetry run black-cgx --check
# Format just a single file
poetry run black-cgx my-component.cgx
# Format a folder and file
poetry run black-cgx ../folder_with_cgx_files my-component.cgx