click-contrib / click-default-group

Extends click.Group to invoke a command without explicit subcommand name.
BSD 3-Clause "New" or "Revised" License
73 stars 17 forks source link

Fix for issue #17 #23

Open pyhedgehog opened 2 years ago

pyhedgehog commented 2 years ago

It's not actually "patch" -- it's complete rewrite. :-( However in practice only behavior it changes is "only group options passed with default_if_no_args=True". Thanks @edobez for test script.