{"id":26728910,"url":"https://github.com/ichlubna/arguments","last_synced_at":"2025-03-27T22:37:23.027Z","repository":{"id":42054840,"uuid":"481567665","full_name":"ichlubna/arguments","owner":"ichlubna","description":"Extremely simple command line arguments parser for C++","archived":false,"fork":false,"pushed_at":"2022-11-05T14:44:05.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-05T00:05:54.942Z","etag":null,"topics":["argument-parser","argument-parsing","arguments","command-line-parser","cpp-modules","hpp"],"latest_commit_sha":null,"homepage":"","language":"C++","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/ichlubna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-14T10:48:52.000Z","updated_at":"2022-09-04T05:54:38.000Z","dependencies_parsed_at":"2023-01-21T02:16:56.584Z","dependency_job_id":null,"html_url":"https://github.com/ichlubna/arguments","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichlubna%2Farguments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichlubna%2Farguments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichlubna%2Farguments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichlubna%2Farguments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ichlubna","download_url":"https://codeload.github.com/ichlubna/arguments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245937899,"owners_count":20696980,"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":["argument-parser","argument-parsing","arguments","command-line-parser","cpp-modules","hpp"],"created_at":"2025-03-27T22:37:20.269Z","updated_at":"2025-03-27T22:37:23.020Z","avatar_url":"https://github.com/ichlubna.png","language":"C++","readme":"# Lightweight and simple argument parser \n\nGood for fast prototyping. Simply reads the params and provides a map with the parameter name and value. \n\n## Installation \nInclude the *arguments.hpp* file. Example of the usage is in the *test.cpp*. \\\nThe example can be run as: \n```\n./test -e --lightsaber_power 3.1415 --nazghul_count 42 --spell \"Brisingr!\"\n```\nWith the (expected) output:\n```\nI am here\nI am 3.1415 m heigh!\nI am scared 42 times!\nBrisingr!\n```\nCheck out commit [d6db766](https://github.com/ichlubna/arguments/tree/d6db7660a459b820b8d06b3c47787fca299080f9) for non-modularized standard header hpp version.\n\n## Supported features \n- takes everything starting with \"-\" or \"--\", excluding numbers (anything that starts with \"-[0-9]\" or \"--[0-9]\"), as a parameter name\n- allows implicit casting of the result to basic types with exceptions if not possible\n- automatically detects \"-h\" and \"--help\" and prints the help string\n- does not support predefined arguments, simply parses everything and ignores many possible mistakes\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fichlubna%2Farguments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fichlubna%2Farguments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fichlubna%2Farguments/lists"}