Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Releases: nedpals/vargs

0.4.2

29 Oct 07:24
Compare
Choose a tag to compare

Changes in 0.4.2

  1. Fixed parsing errors when used in complex scenarios.
  2. Add proper tests.
  3. Now only works with 0.1.22 and above.
  4. Fixed maps formatting when converting Args to string.
  5. Partial refactoring of code including converting if statements to match

Just run v install nedpals.vargs or vpkg get vargs to get the latest version.

v0.4

17 Sep 14:50
Compare
Choose a tag to compare

Changes in 0.4

  1. Use comma-separated values of an option as array of strings with the array_option(name) function.
  2. Fixed unused variable error.
  3. Options values are now merged if the name of the option has already existed.
  4. Fixed problem when installing module from VPM. #2
  5. Final stable release? Hmmm

Just run v install nedpals.vargs or vpkg get vargs to get the latest version.

v0.3

17 Sep 14:43
cef2a35
Compare
Choose a tag to compare

Changes in 0.3

  1. Module name renamed from args to vargs to avoid conflicts.
  2. 0.3 now requires V 0.1.18 and above because of the revised initialization of maps.
  3. Renaming of internal functions and better formatting when converting Args struct to string.
  4. Final stable release? Hmmm

v0.2

25 Aug 13:25
26b301b
Compare
Choose a tag to compare

The 0.2 release will be tagged as 0.3 has breaking changes and 0.2 will be the final version to run on V 0.1.17 and below.

Changes in 0.2

  1. Flag structs and it's related functions (such as get_flag() and get()) are removed. Replaced with maps.
  2. The parse function now accepts a second argument that removes the first n elements in the array. Helpful if you want to only parse arguments after the name of the app/executable. Otherwise, set it to 0.
  3. Major refactoring and fixing of the library.