Skip to content
threatfenderPublic

About

argc and argv for Nim

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

argc and argv for Nim

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages