{"id":18085494,"url":"https://github.com/xe/argument_parser","last_synced_at":"2026-01-20T02:25:04.226Z","repository":{"id":144740376,"uuid":"41276632","full_name":"Xe/argument_parser","owner":"Xe","description":"Nim Argument parser","archived":false,"fork":false,"pushed_at":"2015-08-24T02:18:34.000Z","size":236,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T11:52:10.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nimrod","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xe.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"contributing.rst","funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-24T02:09:54.000Z","updated_at":"2021-12-29T14:58:44.000Z","dependencies_parsed_at":"2023-06-17T06:45:57.524Z","dependency_job_id":null,"html_url":"https://github.com/Xe/argument_parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xe%2Fargument_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xe%2Fargument_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xe%2Fargument_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xe%2Fargument_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xe","download_url":"https://codeload.github.com/Xe/argument_parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415966,"owners_count":20935387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T15:11:50.220Z","updated_at":"2026-01-20T02:25:04.169Z","avatar_url":"https://github.com/Xe.png","language":"Nimrod","funding_links":[],"categories":[],"sub_categories":[],"readme":"======================\nArgument parser readme\n======================\n\nThe `Nim programming language \u003chttp://nim-lang.org\u003e`_ provides the `parseopt\nmodule \u003chttp://nim-lang.org/parseopt.html\u003e`_ to parse options from the command\nline. I found this module lacking, used to python modules like `optparse\n\u003chttp://docs.python.org/2/library/optparse.html\u003e`_ or `argparse\n\u003chttp://docs.python.org/3/library/argparse.html\u003e`_.  This module tries to\nprovide similar functionality to prevent you from writing command line parsing\nand let you concentrate on providing the best possible experience for your\nusers.\n\nAlternatives to this module are:\n\n* `commandeer \u003chttps://github.com/fenekku/commandeer\u003e`_.\n* `docopt \u003chttps://github.com/docopt/docopt.nim\u003e`_.\n\nThis project was originally by gradha, but I (Xe) have taken it over as gradha\nhad marked this project dead.\n\nLicense\n=======\n\n`MIT license \u003cLICENSE.rst\u003e`_.\n\n\nInstallation\n============\n\nStable version\n--------------\n\nInstall the `Nim \u003chttp://nim-lang.org\u003e`_ compiler.  Use `Nim's Nimble package\nmanager \u003chttps://github.com/nim-lang/nimble\u003e`_ to install the module::\n\n    $ nimble update\n    $ nimble install argument_parser\n\n\nDevelopment version\n-------------------\n\nInstall the `Nim \u003chttp://nim-lang.org\u003e`_ compiler.  Use `Nim's Nimble package\nmanager \u003chttps://github.com/nim-lang/nimble\u003e`_ to install locally the github\ncheckout::\n\n    $ git clone https://github.com/gradha/argument_parser.git\n    $ cd argument_parser\n    $ nimble install -y\n\nIf you don't mind downloading the git repository every time, you can also tell\nNimble to install the latest development version directly from git::\n\n    $ nimble update\n    $ nimble install -y argument_parser@#head\n\n\nDocumentation\n=============\n\nOnce you have installed ``argument_parser`` you can just ``import\nargument_parser`` in your programs and use its API.  The ``argument_parser``\nmodule comes with embedded docstrings. You can run ``nake doc`` to generate the\nHTML along with other documents, which are referenced from the `generated\ntheindex.html \u003ctheindex.html\u003e`_ file.  Here is an example on how to build the\nHTML on Unix::\n\n    $ cd `nimble path argument_parser`\n    $ nake doc\n    $ open theindex.html\n\nThe generated documentation for all public versions can also be found at\n`http://gradha.github.io/argument_parser/\n\u003chttp://gradha.github.io/argument_parser/\u003e`_.  No guarantees on its freshness,\nthough, do check the generation date at the bottom.\n\nIn the distant future, when most features are complete, a tutorial will be\nprovided to explain how to use the module. In the meantime you should read the\nexamples provided in the `examples subdirectory \u003cexamples\u003e`_. These examples\ntry to show how to implement common usage patterns for different types of\ncommand line parsing.\n\n\nChanges\n=======\n\nThis is development version 0.4.3. For a list of changes see the\n`docs/changes.rst \u003cdocs/changes.rst\u003e`_ file.\n\n\nGit branches\n============\n\nThis project uses the `git-flow branching model\n\u003chttps://github.com/nvie/gitflow\u003e`_ with reversed defaults. Stable releases are\ntracked in the `stable branch\n\u003chttps://github.com/gradha/argument_parser/tree/stable\u003e`_. Development happens\nin the default `master branch\n\u003chttps://github.com/gradha/argument_parser/tree/stable\u003e`_.\n\n\nFeedback\n========\n\nYou can send me feedback through `github's issue tracker\n\u003chttp://github.com/gradha/argument_parser/issues\u003e`_. I also take a look from\ntime to time to `Nim's forums \u003chttp://forum.nim-lang.org\u003e`_ where you can talk\nto other Nim programmers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxe%2Fargument_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxe%2Fargument_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxe%2Fargument_parser/lists"}