Commit 106a0e9
authored
style: use clap derive feature (#204)
Allows the CLI to be structured using nested structs and enums. Help
messages are set using the doc strings for instance attributes.
## Behavioral changes
Same behavior as before except:
* `-h` shows a shorter help message while `--help` shows the same long
help message
* `-extensions` will error if a blank string is passed. cpp-linter v1.x
just silently ignores blank file extensions
## Other Changes
- updated python dependencies (and uv.lock)
- added support for free-threaded python builds
- adjusted docs' cli-gen binding accordingly for `-h` vs `--help` output
(favoring the later when available).
- adopt PEP639 about License info in Python package metadata.1 parent c9b1b1c commit 106a0e9
File tree
12 files changed
+773
-737
lines changed- bindings/python/src
- cpp-linter
- src
- cli
- common_fs
- docs
- src
12 files changed
+773
-737
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments