Skip to content

refactor!: make in2lambda a command group (convert) - #24

Open
m-messer wants to merge 1 commit into
markdown-filterfrom
cli-group
Open

refactor!: make in2lambda a command group (convert)#24
m-messer wants to merge 1 commit into
markdown-filterfrom
cli-group

Conversation

@m-messer

@m-messer m-messer commented Sep 1, 2026

Copy link
Copy Markdown
Member

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 command-line.rst still point at in2lambda.main:cli — sphinx-click renders the subcommand automatically.
  • quickstart examples updated to in2lambda convert ... with a note.
  • tests/test_cli.py added (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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant