This repository has been archived by the owner on Nov 13, 2020. It is now read-only.
Releases: nedpals/vargs
Releases · nedpals/vargs
0.4.2
Changes in 0.4.2
- Fixed parsing errors when used in complex scenarios.
- Add proper tests.
- Now only works with
0.1.22
and above. - Fixed maps formatting when converting
Args
to string. - Partial refactoring of code including converting
if
statements tomatch
Just run v install nedpals.vargs
or vpkg get vargs
to get the latest version.
v0.4
Changes in 0.4
- Use comma-separated values of an option as array of strings with the
array_option(name)
function. - Fixed unused variable error.
- Options values are now merged if the name of the option has already existed.
- Fixed problem when installing module from VPM. #2
- Final stable release? Hmmm
Just run v install nedpals.vargs
or vpkg get vargs
to get the latest version.
v0.3
Changes in 0.3
- Module name renamed from
args
tovargs
to avoid conflicts. 0.3
now requires V0.1.18
and above because of the revised initialization of maps.- Renaming of internal functions and better formatting when converting
Args
struct to string. - Final stable release? Hmmm
v0.2
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
Flag
structs and it's related functions (such asget_flag()
andget()
) are removed. Replaced withmaps
.- The
parse
function now accepts a second argument that removes the firstn
elements in the array. Helpful if you want to only parse arguments after the name of the app/executable. Otherwise, set it to 0. - Major refactoring and fixing of the library.