fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
534 stars 99 forks source link

--list-subcommands option no longer works since fontbakery 0.12 #4685

Closed danc86 closed 2 months ago

danc86 commented 2 months ago

Observed behaviour

Before the 0.12 release, fontbakery accepted a --list-subcommands options to list the available subcommands. This option is still referenced in the docs and the sample bash completion script, but it doesn't seem to work anymore. It's considered a usage error now:

$ fontbakery --list-subcommands
usage: fontbakery [-h] [--version]
                  {check-profile,check-adobefonts,check-fontbureau,check-fontval,check-fontwerk,check-googlefonts,check-iso15008,check-microsoft,check-notofonts,check-opentype,check-shaping,check-typenetwork,check-ufo,check-universal}
                  ...
fontbakery: error: the following arguments are required: command

Expected behaviour

Behaviour with fontbakery 0.11.2:

$ fontbakery --list-subcommands
check-adobefonts check-fontbureau check-fontval check-fontwerk check-googlefonts check-iso15008 check-notofonts check-opentype check-profile check-proposals check-shaping check-typenetwork check-ufo-sources check-universal

Resources and steps needed to reproduce

  1. fontbakery --list-subcommands