Format code blocks.
Default style, print result to screen:
cpp_comment_format example.cpp
To modify in place:
cpp_comment_format -i example.cpp
Using a specific style:
cpp_comment_format --style "javadoc" --doxygen "@" example.cpp
Default style:
repos:
- repo: https://github.com/tdegeus/cpp_comment_format
rev: v0.0.2
hooks:
- id: cpp_comment_format
Using a specific style:
repos:
- repo: https://github.com/tdegeus/cpp_comment_format
rev: v0.0.2
hooks:
- id: cpp_comment_format
args: ["--style", "javadoc", "--doxygen", "@"]