pkgjs / parseargs

Polyfill of `util.parseArgs()`
Apache License 2.0
121 stars 9 forks source link

docs: add example uses of tokens #136

Closed shadowspawn closed 1 year ago

shadowspawn commented 2 years ago

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

shadowspawn commented 1 year ago

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