为CGX文件格式化Black
项目描述
Black-cgx
使用black格式化CGX文件。
用法
# 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
项目详情
下载文件
为您的平台下载文件。如果您不确定选择哪个,请了解更多关于 安装软件包 的信息。
源分发
black-cgx-0.1.0.tar.gz (3.8 kB 查看哈希值)
构建分发
black_cgx-0.1.0-py3-none-any.whl (4.0 kB 查看哈希值)