Conversation
BREAKING CHANGE: file conversion moves from `in2lambda <file> <filter>` to `in2lambda convert <file> <filter>`. `cli` is now a click.group so further subcommands (a wizard, etc.) can be added without overloading the top-level command. The former command body is unchanged, just relocated to `convert`; `runner()` is untouched. - pyproject `[tool.poetry.scripts]` and docs/source/reference/command-line.rst still point at `in2lambda.main:cli` - no change needed there, sphinx-click renders the subcommand automatically. - quickstart examples updated to `in2lambda convert ...` with a note. - tests/test_cli.py added (CliRunner) covering help, output files, case-insensitive filter names, and unknown-filter rejection. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017VXb8aZqgFBjoeuuddjW6r
|
One thing to sort out before this merges: the old command form doesn't fail, it quietly does nothing. Running against this branch with the locked click 8.1.7: So anyone passing an absolute path, which includes every Docker invocation using Either forward the old form to Separately: this is a breaking change to a published CLI, but |
|
Added error message when command is not found. To my knowledge this isn't used elsewhere so no issues with rejecting the legacy command |
BREAKING CHANGE: file conversion moves from
in2lambda <file> <filter>toin2lambda convert <file> <filter>.cliis now aclick.groupso further subcommands (a wizard, etc.) can be added without overloading the top-level command. The former command body is unchanged, just relocated toconvert;runner()is untouched.[tool.poetry.scripts]andcommand-line.rststill point atin2lambda.main:cli— sphinx-click renders the subcommand automatically.in2lambda convert ...with a note.tests/test_cli.pyadded (CliRunner): help, output files, case-insensitive filter names, unknown-filter rejection.Stack: markdown-filter ← cli-group ← llm-client ← …
Base:
markdown-filter— #23.🤖 Generated with Claude Code