Skip to content

feat: expose hideBin helper for CJS#1768

Merged
bcoe merged 13 commits into
masterfrom
expose-hide-bin
Oct 12, 2020
Merged

feat: expose hideBin helper for CJS#1768
bcoe merged 13 commits into
masterfrom
expose-hide-bin

Conversation

@bcoe

@bcoe bcoe commented Sep 25, 2020

Copy link
Copy Markdown
Member

Exposes the hideBin helper for CJS, so that we can standardize the documentation for ESM, CJS, and Deno.

Updates documentation to suggest this approach by default.

Fixes #1648

TODO: update the rest of the examples in the documentation.

@roryokane roryokane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Here is my feedback on this PR’s documentation changes. I don’t know Yargs internals well enough to comment on the code changes, beyond saying I don’t see anything obviously wrong in the diff.

Comment thread README.md Outdated
Comment thread docs/api.md Outdated
Comment thread docs/api.md
Comment thread docs/api.md Outdated
Comment thread docs/api.md Outdated
Comment thread docs/advanced.md Outdated
Benjamin E. Coe and others added 10 commits September 30, 2020 15:10
@bcoe bcoe merged commit 63e1173 into master Oct 12, 2020
@bcoe bcoe deleted the expose-hide-bin branch October 12, 2020 03:11
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.

Promote the non-singleton interface, require('yargs/yargs'), as the default

2 participants