Skip to content

Commit 2545df3

Browse files
Vadiml1024claude
andcommitted
Fix: Upgrade Typer to >=0.16.0 to resolve CLI help display error
This fixes the AttributeError: 'Flag' object has no attribute 'default' error that occurred when running `cam --help` and other help commands. The issue was caused by Typer 0.12.x having incompatibilities with the Flag() definition syntax used in the codebase. Typer 0.16.0+ includes the necessary fixes for proper Flag handling. Changes: - Updated typer dependency from >=0.12.0 to >=0.16.0 in pyproject.toml Testing: - Verified `cam --help` displays correctly without errors - Verified subcommands help work: `cam agent --help`, `cam plugin --help`, `cam mcp --help` - All commands now show proper help output with formatted options and commands Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent af64dfe commit 2545df3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = [
1414
"requests>=2.31.0",
1515
"PyYAML>=6.0.1",
1616
"python-dotenv>=1.0.1",
17-
"typer>=0.12.0",
17+
"typer>=0.16.0",
1818
"click>=8.1.7",
1919
"rich>=13.7.0",
2020
"pydantic>=2.6.0",

0 commit comments

Comments
 (0)