cpp-comment-format-0.2.0
توضیحات
Format comment blocks in C++ source files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cpp-comment-format-0.2.0 |
| نام | cpp-comment-format |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tom de Geus |
| ایمیل نویسنده | tom@geus.me |
| آدرس صفحه اصلی | https://github.com/tdegeus/cpp_comment_format |
| آدرس اینترنتی | https://pypi.org/project/cpp-comment-format/ |
| مجوز | MIT |
# cpp_comment_format
Format code blocks.
## From command line
Default style, print result to screen:
```bash
cpp_comment_format example.cpp
```
To modify in place:
```bash
cpp_comment_format -i example.cpp
```
Using a specific style:
```bash
cpp_comment_format --style "javadoc" --doxygen "@" example.cpp
```
## Using pre-commit
Default style:
```yaml
repos:
- repo: https://github.com/tdegeus/cpp_comment_format
rev: v0.0.2
hooks:
- id: cpp_comment_format
```
Using a specific style:
```yaml
repos:
- repo: https://github.com/tdegeus/cpp_comment_format
rev: v0.0.2
hooks:
- id: cpp_comment_format
args: ["--style", "javadoc", "--doxygen", "@"]
```
نحوه نصب
نصب پکیج whl cpp-comment-format-0.2.0:
pip install cpp-comment-format-0.2.0.whl
نصب پکیج tar.gz cpp-comment-format-0.2.0:
pip install cpp-comment-format-0.2.0.tar.gz