extractor
extractor copied to clipboard
Add cmdline script
Maybe it would be nice to add a simple command line interface?
$ extractufo ~/font1.otf ~/font2.ttf
Not sure, because it adds a ufoLib2 dependency.
Maybe have a --ufo-module argument like glyphs2ufo
parser_glyphs2ufo.add_argument(
"--ufo-module",
metavar="UFO_MODULE",
choices=("ufoLib2", "defcon"),
default="ufoLib2",
help=(
"Select the default library for writing UFOs. Choose between: %(choices)s "
"(default: %(default)s)"
),
)
adding a dependency is not nice
but adding a command line tool would make it more accessible outside