Skip to content

How to use do_func directly? #1400

Answered by kmvanbrunt
KelvinChung2000 asked this question in Q&A
Discussion options

You must be logged in to vote

I wouldn't patch the cmd2 code unless you're willing to re-patch it every time we put out a new release.
It's easier to write your own decorator to do that.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@KelvinChung2000
Comment options

@kmvanbrunt
Comment options

Answer selected by KelvinChung2000
@kotfu
Comment options

kotfu Jan 8, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants