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

docs: add example uses of tokens #136

Merged
merged 8 commits into from
Sep 24, 2022

Conversation

shadowspawn
Copy link
Collaborator

@shadowspawn shadowspawn commented Jun 17, 2022

Add example files using tokens to add behaviour that has come up in discussions.

The token support is added in #129. That PR currently includes these examples for illustration, but I have added a separate PR so the examples may be discussed separately from landing the code.

See: #84
Closes: #52

examples/no-repeated-options.js Outdated Show resolved Hide resolved
examples/limit-long-syntax.js Outdated Show resolved Hide resolved
examples/ordered-options.mjs Outdated Show resolved Hide resolved
examples/no-repeated-options.js Show resolved Hide resolved
@shadowspawn
Copy link
Collaborator Author

Updated the comments to clarify the examples which are mainly about doing something interesting with tokens, and not about solving a problem as such.

@shadowspawn shadowspawn merged commit 89e1b63 into pkgjs:main Sep 24, 2022
@shadowspawn shadowspawn deleted the feature/token-examples branch September 24, 2022 21: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.

make it possible to require long options with values use =
2 participants