Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cmdline script #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jenskutilek
Copy link
Contributor

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.

@moyogo
Copy link
Collaborator

moyogo commented Feb 19, 2021

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

@typemytype
Copy link
Member

adding a dependency is not nice

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants