David Bieber

Results 202 comments of David Bieber

That suggests another candidate: `fire.Fire()` -> defaults (print usually, but use pager for help) `fire.Fire(display=fire.DefaultDisplay)` -> defaults again `fire.Fire(display=None)` -> turns off output entirely `fire.Fire(display=print)` (Python3 only) -> print everything,...

Yeah, serialization would be a separate config under this proposal. `fire.Fire()` -> defaults `fire.Fire(serialize=fire.DefaultSerialize)` -> defaults again ```python def serialize(component): return repr(component) # or whatever the user decides fire.Fire(serialize=serialize) ```

Maybe also we would use `fire.Display` and `fire.Serialize` as the defaults (instead of `fire.DefaultDisplay` and `fire.DefaultSerialize`) to keep things cleaner. [An advantage of DefaultDisplay/DefaultSerialize though is that it allows Fire...

fire.Fire is a function too.

The reason we use FunctionNames instead of function_names is that at the time this project was created, that was an acceptable standard by the internal google python style guide. We've...

Let's do our best to anticipate things we may want to add in the future. Can you give an example of what formatting might be used for? To me it...

[Brainstorming: Another somewhat related place we may end up wanting an additional argument is exception handling. Fire raises FireExit exceptions (which extend SystemExit) in order to exit with a particular...

If you sign the CLA, happy to merge this.

#318 addresses this (and duplicate #317), but I have not yet reviewed it. One way you can help out would be to review #318, looking for any potential issues with...