{"id":36418032,"url":"https://github.com/argparse4j/argparse4j","last_synced_at":"2026-01-11T17:01:19.602Z","repository":{"id":1927790,"uuid":"2856208","full_name":"argparse4j/argparse4j","owner":"argparse4j","description":"Java port of Python's famous argparse command-line argument parser.","archived":false,"fork":false,"pushed_at":"2024-09-25T14:35:19.000Z","size":957,"stargazers_count":256,"open_issues_count":14,"forks_count":55,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-12-28T17:32:42.075Z","etag":null,"topics":["argparse","command-line","java"],"latest_commit_sha":null,"homepage":"https://argparse4j.github.io/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/argparse4j.png","metadata":{"files":{"readme":"README.rst","changelog":"NEWS","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-11-26T15:51:47.000Z","updated_at":"2025-11-09T12:56:41.000Z","dependencies_parsed_at":"2025-05-20T17:41:07.581Z","dependency_job_id":null,"html_url":"https://github.com/argparse4j/argparse4j","commit_stats":{"total_commits":433,"total_committers":22,"mean_commits":"19.681818181818183","dds":0.3371824480369515,"last_synced_commit":"6c0f8590f7408025daa5f3b234e914cf805808a6"},"previous_names":["tatsuhiro-t/argparse4j"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/argparse4j/argparse4j","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argparse4j%2Fargparse4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argparse4j%2Fargparse4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argparse4j%2Fargparse4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argparse4j%2Fargparse4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/argparse4j","download_url":"https://codeload.github.com/argparse4j/argparse4j/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argparse4j%2Fargparse4j/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["argparse","command-line","java"],"created_at":"2026-01-11T17:00:40.611Z","updated_at":"2026-01-11T17:01:19.585Z","avatar_url":"https://github.com/argparse4j.png","language":"Java","readme":"Argparse4j - The Java command-line argument parser library\n==========================================================\n\n.. image:: https://api.travis-ci.com/argparse4j/argparse4j.svg?branch=master\n    :target: https://travis-ci.com/github/argparse4j/argparse4j\n\nArgparse4j is a command line argument parser library for Java based\non Python's\n`argparse \u003chttps://docs.python.org/3/library/argparse.html\u003e`_ module.\n\nArgparse4j is available in Maven central repository:\n\n.. code-block:: xml\n\n  \u003cdependency\u003e\n    \u003cgroupId\u003enet.sourceforge.argparse4j\u003c/groupId\u003e\n    \u003cartifactId\u003eargparse4j\u003c/artifactId\u003e\n    \u003cversion\u003e0.9.0\u003c/version\u003e\n  \u003c/dependency\u003e\n\n**IMPORTANT**: When upgrading, read `Migration\n\u003chttps://argparse4j.github.io/migration.html\u003e`_.\nThere is an important change in 0.5.0 which might break your code.  The\ndocumentation describes the change and how to migrate from earlier\nversions.\n\nThere are still missing features which exist in argparse but not in\nargparse4j, but there are also new features which only exist in\nargparse4j.\n\nHere is summary of features:\n\n* Supported positional arguments and named arguments.\n* Variable number of arguments.\n* Generates well formatted line-wrapped help message.\n* Suggests named arguments/sub-command if unrecognized\n  arguments/sub-command were given, e.g.:\n\n  .. code-block:: console\n\n    unrecognized argument '--tpye'\n    Did you mean:\n      --type\n\n* Takes into account East Asian Width ambiguous characters when\n  line-wrap.\n* Sub-commands like, ``git add``.\n* Sub-command alias names, e.g., ``co`` for ``checkout``.\n* Customizable option prefix characters, e.g. ``+f`` and ``/h``.\n* Print default values in help message.\n* Choice from given collection of values.\n* Type conversion from option strings.\n* Can directly assign values into user defined classes using annotation.\n* Group arguments so that it will be printed in help message in\n  more readable way.\n* Mutually exclusive argument group.\n* Read additional arguments from file.\n* Argument/sub-command abbreviations.\n\nRequirements\n------------\n\nJava 8 or higher is needed.\n\nThe main JAR contains module information for the Java Module System. The\nmodule name is ``net.sourceforge.argparse4j``.\n\nBuilding\n--------\n\nTo build you need Java 9 or higher, and Maven 3.2.3 or higher.\n\nBy default the build signs the artifacts. This requires `GNU Privacy Guard\n\u003chttps://gnupg.org/\u003e`_ and the setup of a personal key. Signing can be\ndisabled by adding ``-Dgpg.skip=true`` to the arguments passed to Maven.\n\nThe primary documentation is done using `Sphinx\n\u003chttps://www.sphinx-doc.org/en/master/\u003e`_.  You need Sphinx to run ``mvn site``.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargparse4j%2Fargparse4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fargparse4j%2Fargparse4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargparse4j%2Fargparse4j/lists"}