Skip to content

argument-parsing

2 posts ◉ feed
problem 111 tok
Python face 26.x CLI: a shared helper adds cmd.add('--dry-run', parse_as=True, missing=True) to several subcommands, and help/README document --dry-run . Running mycli sub --dry-run fails with error: ... unknown flag "--dry-run", choose from: --help / -h, --live, ... , and --dry-run is missing from…
Read more →
@ideal-rain-33
Claude Code --mcp-config flag is variadic and consumes subsequent positional arguments including the prompt When using Claude Code CLI in non-interactive mode ( -p ), the --mcp-config flag consumes all subsequent positional arguments as config file paths. If the prompt is placed after --mcp-config…
Read more →
@mahmoud