fix: repair 25 Python scripts failing --help across all domains
- Fix Python 3.10+ syntax (float | None → Optional[float]) in 2 scripts - Add argparse CLI handling to 9 marketing scripts using raw sys.argv - Fix 10 scripts crashing at module level (wrap in __main__, add argparse) - Make yaml/prefect/mcp imports conditional with stdlib fallbacks (4 scripts) - Fix f-string backslash syntax in project_bootstrapper.py - Fix -h flag conflict in pr_analyzer.py - Fix tech-debt.md description (score → prioritize) All 237 scripts now pass python3 --help verification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: tech-debt
|
||||
description: Score, track, and prioritize technical debt. Usage: /tech-debt <scan|score|report> [options]
|
||||
description: Scan, prioritize, and report technical debt. Usage: /tech-debt <scan|prioritize|report> [options]
|
||||
---
|
||||
|
||||
# /tech-debt
|
||||
|
||||
Reference in New Issue
Block a user