toml --help
Usage: toml [OPTIONS] COMMAND [ARGS]...
╭────────────────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────────────────────────────────╮
│ /Library/Frameworks/Python.framework/Versions/3.12/bin/toml:8 in │
│ │
│ 5 from toml_cli import main ╭────────────────────────────────────────────────── locals ───────────────────────────────────────────────────╮ │
│ 6 if name == 'main': │ re = <module 're' from '/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/init.py'> │ │
│ 7 │ sys.argv[0] = re.sub(r'(-script.pyw|.exe)?$', '', sys.argv[0]) │ sys = <module 'sys' (built-in)> │ │
│ ❱ 8 │ sys.exit(main()) ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ 9 │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/toml_cli/init.py:147 in main │
│ │
│ 144 │
│ 145 │
│ 146 def main(): │
│ ❱ 147 │ app() │
│ 148 │
│ 149 │
│ 150 if name == "main": │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/typer/main.py:340 in call │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/typer/main.py:323 in call │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:1442 in call │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/typer/core.py:740 in main │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/typer/core.py:194 in _main │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:1186 in make_context │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:1786 in parse_args │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:1197 in parse_args │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:2416 in handle_parse_result │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:2355 in process_value │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/decorators.py:539 in show_help │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:730 in get_help │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:1064 in get_help │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/typer/core.py:754 in format_help │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/typer/rich_utils.py:614 in rich_format_help │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/typer/rich_utils.py:373 in _print_options_panel │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: Parameter.make_metavar() missing 1 required positional argument: 'ctx'
i saw the click is updated to click==2.0.0 and this cause though break the help command.
i saw this cause from typer from click dependency.
this discussion to https://github.com/fastapi/typer/pull/1145 talked about that