cppclean
cppclean
TLDR
Run in a project's directory
Run on a project where the headers are in the inc1/ and inc2/ directories
Run on a specific file main.cpp
Run on the current directory, excluding the "build" directory
Help
usage: cppclean [-h] [--exclude pattern] [--include-path path]
[--include-path-system sys_path]
[--include-path-non-system nonsys_path] [--verbose]
[--version] [--quiet]
files [files ...]
positional arguments:
files
options:
-h, --help show this help message and exit
--exclude pattern exclude files matching this pattern; specify this
multiple times for multiple patterns
--include-path path, -i path, -I path
add a header include path; specify this multiple times
for multiple include paths
--include-path-system sys_path, -s sys_path
same as --include-path but explicitly designates all
header files found in these directories as "system"
includes
--include-path-non-system nonsys_path, -n nonsys_path
same as --include-path but explicitly designates all
header files found in these directories as "non-
system" includes
--verbose print verbose messages
--version show program's version number and exit
--quiet, -q ignore parse errors