Simon Cozens 2cef07af80
[doc] Add help options to fonttools CLI (#1920)
This adds a `help` verb (and `--help` option) to the `fonttools` command line tool. Submodules will be listed in the help text if they have an importable `main` function with a docstring, and `main`'s docstring will be used as the one-line description for the help text.
2020-05-12 06:31:13 +01:00

8 lines
129 B
Python

from fontTools.misc.py23 import *
import sys
from fontTools.subset import main
if __name__ == '__main__':
sys.exit(main())