Jaymon / captain

command line python scripts for humans
MIT License
13 stars 1 forks source link

Add __call__ to captain.io.Output #68

Closed Jaymon closed 1 year ago

Jaymon commented 3 years ago

The __call__ method would just wrap Output.out and allow this:

self.output("foo")
Jaymon commented 3 years ago

bah, evidently I already thought of this in #63