Skip to content

Keep the pre-2.0 command line working as an alias - #72

Merged
peterbjohnson merged 1 commit into
devfrom
wb/t47
Sep 20, 2026
Merged

peterbjohnson merged 1 commit into
devfrom
wb/t47

Conversation

@peterbjohnson

Copy link
Copy Markdown
Member

in2lambda FILE FILTER exits with an error naming in2lambda convert FILE FILTER. There is no need to break it. When the first argument is an existing file (or a path to one) rather than a subcommand name, print one deprecation line to stderr and run convert with the same arguments; the shell-completion exemption and the message for a first argument that is neither stay as they are. Version becomes 1.1.0 and the CHANGELOG entry describes the alias, not a removal. Done when the four old-form invocations in tests/test_cli.py convert successfully with the deprecation line on stderr, and in2lambda convert is unchanged.


Workbench ticket t47.

@peterbjohnson
peterbjohnson merged commit b775ff9 into dev Sep 20, 2026
6 checks passed
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