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!: tweaks to API surface based on user feedback #1726

Merged
merged 3 commits into from Aug 31, 2020
Merged

Conversation

bcoe
Copy link
Member

@bcoe bcoe commented Aug 27, 2020

based on initial feedback regarding the v16.x.x API surface, this PR:

  1. switches ESM and Deno entry points to export the yargs function as a default export.
  2. moves deno's types into ./types.ts.
  3. adds a helpers.mjs with a hidBin helper, which replaces the verbose getProcessArgvWithoutBin helper.

TODO:

  • expose yargs parser.

@bcoe
Copy link
Member Author

bcoe commented Aug 27, 2020

cc: @mikeal

@bcoe bcoe merged commit 4151fee into master Aug 31, 2020
@bcoe bcoe deleted the modified-api-surface branch August 31, 2020 04:00
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

1 participant