crackerjack 0.28.0__py3-none-any.whl → 0.29.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of crackerjack might be problematic. Click here for more details.
- crackerjack/__main__.py +8 -0
- crackerjack/crackerjack.py +647 -48
- crackerjack/interactive.py +7 -16
- crackerjack/pyproject.toml +3 -1
- {crackerjack-0.28.0.dist-info → crackerjack-0.29.0.dist-info}/METADATA +636 -52
- {crackerjack-0.28.0.dist-info → crackerjack-0.29.0.dist-info}/RECORD +8 -8
- {crackerjack-0.28.0.dist-info → crackerjack-0.29.0.dist-info}/WHEEL +0 -0
- {crackerjack-0.28.0.dist-info → crackerjack-0.29.0.dist-info}/licenses/LICENSE +0 -0
crackerjack/__main__.py
CHANGED
|
@@ -32,6 +32,7 @@ class Options(BaseModel):
|
|
|
32
32
|
update_precommit: bool = False
|
|
33
33
|
update_docs: bool = False
|
|
34
34
|
force_update_docs: bool = False
|
|
35
|
+
compress_docs: bool = False
|
|
35
36
|
clean: bool = False
|
|
36
37
|
test: bool = False
|
|
37
38
|
benchmark: bool = False
|
|
@@ -87,6 +88,11 @@ cli_options = {
|
|
|
87
88
|
"--force-update-docs",
|
|
88
89
|
help="Force update CLAUDE.md and RULES.md even if they exist.",
|
|
89
90
|
),
|
|
91
|
+
"compress_docs": typer.Option(
|
|
92
|
+
False,
|
|
93
|
+
"--compress-docs",
|
|
94
|
+
help="Automatically compress CLAUDE.md to optimize for Claude Code (enabled by default for other projects).",
|
|
95
|
+
),
|
|
90
96
|
"verbose": typer.Option(False, "-v", "--verbose", help="Enable verbose output."),
|
|
91
97
|
"publish": typer.Option(
|
|
92
98
|
None,
|
|
@@ -193,6 +199,7 @@ def main(
|
|
|
193
199
|
update_precommit: bool = cli_options["update_precommit"],
|
|
194
200
|
update_docs: bool = cli_options["update_docs"],
|
|
195
201
|
force_update_docs: bool = cli_options["force_update_docs"],
|
|
202
|
+
compress_docs: bool = cli_options["compress_docs"],
|
|
196
203
|
verbose: bool = cli_options["verbose"],
|
|
197
204
|
publish: BumpOption | None = cli_options["publish"],
|
|
198
205
|
all: BumpOption | None = cli_options["all"],
|
|
@@ -222,6 +229,7 @@ def main(
|
|
|
222
229
|
update_precommit=update_precommit,
|
|
223
230
|
update_docs=update_docs,
|
|
224
231
|
force_update_docs=force_update_docs,
|
|
232
|
+
compress_docs=compress_docs,
|
|
225
233
|
verbose=verbose,
|
|
226
234
|
publish=publish,
|
|
227
235
|
bump=bump,
|