Skip to content

fork-tongue/black-cgx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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