No use of parameter ctx
#2722
Unanswered
tahseenadit
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If you need information from the context when implementing a custom |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Location: https://github.com/pallets/click/blob/9f63c3b477d444245b0cc21ac23c28f6e8f4c385/src/click/core.py#L1678C5-L1682C43
I was wondering why
ctx
exists as a parameter in theget_command
function when it is not used inside the function. Do you think it should be removed ?Beta Was this translation helpful? Give feedback.
All reactions