Add deprecated option for parameters #1244
Unanswered
ElliottKasoar
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
Currently, my understand is that it's possible to deprecate commands, but not parameters.
This makes the process of deprecating parameters is quite involved, as discussed in a similar request for click: pallets/click#2263. My example code also gives a very simple example, but skips over the additional parsing that's required when you have two parameters that define the same thing.
Click 8.2 added this option, and I was hoping typer could expose/handle this too.
Operating System
macOS
Operating System Details
No response
Typer Version
0.16.0
Python Version
Python 3.12.8
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions