__init__#

command.__init__(fn)#

Initialize the command object.

This initializer uses functools.update_wrapper() to wrap the given function. This ensures the resulting command object behaves like the wrapped object.

The docstring is preprocessed to be suitable for Sphinx API reference documentation. The original docstring is available in the usage attribute.