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.
8 lines
129 B
Python
8 lines
129 B
Python
from fontTools.misc.py23 import *
|
|
import sys
|
|
from fontTools.subset import main
|
|
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(main())
|