Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Update arg parsing code and enum definitions #29

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

Update arg parsing code and enum definitions #29

wants to merge 1 commit into from

Conversation

rob-dodson
Copy link

This project is likely at a dead-end unless we figure out how to parse the 2.x SF Symbols font files. But I though I would update some of the less important code in case it can move forward.

- Update the @Option to no longer use "default:".
- Assign default values directly to the variable.
- Remove string literals from enum definitions.
- Use more modern syntax to assign enum values to variables: var fontFamily: Font.Family = .Pro
- Bump min version number for swift-argument-parser package.

    - Update the @option to no longer use "default:".
    - Assign default values directly to the varible.
    - Remove string literals from enum definitions.
    - Use more modern syntax to assign enum values to variables: var fontFamily: Font.Family = .Pro
    - Bump min version number for swift-argument-parser package.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant