google / google/python-fire

How to display class functions in help?

Open
#381 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
28.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Hey,
I am using a class like:
```
class Foo:
def __init__(self, name):
self.name=name

@property
def info(self):
return self.name

def do_somthing(self, arg1):
return do_it(arg1)

if __name__ == '__main__':
fire.Fire(Foo)
```
I like to be able to see in the help the functions/properties in Foo class not only the args in the constructor.
Does it possible?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.