mirror of
https://github.com/threatfender/args
synced 2026-01-08 10:01:07 +00:00
No description
| src | ||
| args.nimble | ||
| CHANGELOG.md | ||
| LICENSE.md | ||
| README.md | ||
Args
A very tiny library which provides the functions argv and argc for working with command line arguments in Nim, with support for multiple Nim versions.
Install
$ nimble add args
Example
import args
when isMainModule:
echo "total argument count: ", argc
echo "script name: ", argv[0]
if argc > 1:
echo "script args: ", argv[1..^1]
Development
To run tests:
$ nimble test
License
Args is open source software licensed under the MIT License.