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

feat: basic support for shorts #50

Merged
merged 1 commit into from
Feb 4, 2022
Merged

Conversation

shadowspawn
Copy link
Collaborator

@shadowspawn shadowspawn commented Jan 25, 2022

Make a start on support for short options.

Handle single character short, and lookup long option in short configuration if present.

(Keeping code local to minimise conflicts at present. Changes still overlap with #40.)

First phase of implementing #2.

test/index.js Show resolved Hide resolved
@bcoe
Copy link
Collaborator

bcoe commented Feb 4, 2022

@shadowspawn bother you for a rebase, I'm excited to land this one so that I can write more tests against yargs-parser 😄

Copy link
Collaborator

@bcoe bcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: thanks for doing this work, I'm going to write some tests based on it now 😄

@bcoe bcoe merged commit a2f36d7 into pkgjs:main Feb 4, 2022
@shadowspawn shadowspawn deleted the feature/basic-short branch February 4, 2022 22:20
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