pyinvoke / invoke

Pythonic task management & command execution.
http://pyinvoke.org
BSD 2-Clause "Simplified" License
4.31k stars 365 forks source link

Generate help infomation of task args from function docstring. #993

Open cupen opened 2 months ago

cupen commented 2 months ago
@task
def build(skip=False, validate=False):
    """
    Just build
    :param skip: it's blahblah...
    :param validate: it's balhblah...
    """
    pass

I can make a pr for it.

It's inspired by https://github.com/shmuelamar/cbox