click-contrib / click-man

Automate generation of man pages for python click applications :star:
MIT License
163 stars 35 forks source link

get_short_help method only exists in Click 7. #33

Closed smarlowucf closed 2 years ago

smarlowucf commented 4 years ago

Pull in method as a function and use directly in click-man to allow support for older versions of Click.

This fixes the issue I caused with https://github.com/click-contrib/click-man/commit/c29fcae6ef1558e0913fab9a4347f941a91923e4. I think it's nice to maintain support for older versions of Click.

fliiiix commented 2 years ago

Thanks @smarlowucf :tada: for fixing and thanks @timofurrer for releasing