extractor icon indicating copy to clipboard operation
extractor copied to clipboard

Add cmdline script

Open jenskutilek opened this issue 4 years ago • 2 comments

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.

jenskutilek avatar Feb 19 '21 08:02 jenskutilek

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)"
        ),
    )

moyogo avatar Feb 19 '21 12:02 moyogo

adding a dependency is not nice

but adding a command line tool would make it more accessible outside

typemytype avatar Feb 19 '21 18:02 typemytype