Open jeanCarloMachado opened 1 year ago
Hello, I know this was made awhile ago, however I think the consistency would be nice!
The issue that causes this is that when the script is run without any flags and the class that is passed to fire has no arguments passed to it's init function, an object initialized so we get the better help message!
Specifically it would be nice to see the verbose help message when I use the --help flag. Currently, the more verbose help message being shown when no flag is passed is a little counterintuitive
I'm a big fan of Python Fire, it's been a huge help in building my projects. I have a small improvement request: I noticed that when I don't pass any arguments to my Fire program, I get an overview of all options of my class. However, when I pass --help, it only describes the class-level functions and misses out the instance-level ones.
I would love to see consistent behavior between the two approaches, ideally it should print all options of the class in both cases.
Thank you for your time!
Example of a personal project.
And with the --help with less content