Closed huantianad closed 2 years ago
Not sure why CI is failing, could be because I'm testing on nim 1.6.2
No idea either why it thinks it's a void type. Either way, I think reading the version from the latest git tag is a better method, as I don't need to manually keep the package version up-to-date.
Apologies for pushing directly to your pr, but would this work?
Yeah that looks good! Only concern is building outside of a git repo clone, eg from GitHub release zips.
I was originally thinking of the AUR package, but it should be fine since I can use a git source.
Adds a -v/--version option, which shows pax's version. (Solves #63) The version is the same as the version in
pax.nimble
.\ Note: Currently only implemented inspec
, not each subcommand, so will only work if used with no subcommand.Rework -h/--help option, change help description for this option from "Show help message" to "show help message" to be consistent with other help descriptions.