arg

Simple argument parsing

MIT License

Downloads
132.9M
Stars
1.2K
Committers
17

Bot releases are visible (Hide)

arg - Latest Release

Published by leerob over 2 years ago

Patches

  • Fix(types): export flagSymbol: #63

Credits

Huge thanks to @jakehamilton for helping!

arg -

Published by leerob about 3 years ago

Patches

  • Update all deps, run Prettier.: #58
  • Ci: move to GitHub actions: #57

Credits

Huge thanks to @yuler for helping!

arg -

Published by Qix- almost 4 years ago

5.0.0 Major Release

tl;dr unless you are checking/validating the types or messages of errors thrown by arg, it is safe to upgrade with no changes to your codebase. In such cases, arg will behave exactly the same as the previous version.


Despite the major release bump, the changes here should affect only the most remote corner cases. Nonetheless, this release was a major bump out of an abundance of caution.

  • All errors are now of type require('arg').ArgError. All arg-related (non-TypeError) errors are an instance of this class, and each has a .code property with a unique arg-related failure. All errors relating to the configuration of arg itself (and thus cannot be fixed by changing user input) begin with ARG_CONFIG_. The circumstances under which the errors are thrown, or the variety of errors, remain unchanged.
  • All errors now start with a lowercase letter instead of an uppercase letter to match common Node.js convention.
  • The CircleCI badge image and link were fixed.
  • All mentions of "ZEIT" were changed to "Vercel" (https://vercel.com/blog/zeit-is-now-vercel)
  • Copyright date and associated name were updated

If any of these changes have broken you in any way, feel free to open an issue on the arg issue tracker.

arg -

Published by timneutkens almost 6 years ago

Major Changes

  • Ensure each arg property starts with hyphen: #13

Minor Changes

  • Add an error code to the unkown option error: #8
  • Add support for TypeScript: #15

Credits

Huge thanks to @macklinu, @matheuss, and @blakeembrey for helping!

arg -

Published by timneutkens almost 6 years ago

Patches

  • Bring down arg publish size: a4dfc59bdf7a8bc7009ab967eab553c4d0a69612
arg - https://github.com/vercel/arg/releases/tag/1.0.1

Published by leo over 6 years ago

Patches

  • Move from scoped package to public package: 2b8abb8339b996ee5161ff2f2ccbfa1a1957884d
  • Added lockfile: 249986ffeac040dc93ca6475bab3605aff0fdbb2
arg -

Published by Qix- about 7 years ago

Minor Changes

  • New spec: #1

Credits

Huge thanks to @Qix- for their help!

Package Rankings
Top 1.05% on Npmjs.org
Top 17.65% on Repo1.maven.org