{"id":20373198,"url":"https://github.com/st235/argsparser","last_synced_at":"2026-06-07T00:32:25.011Z","repository":{"id":140153621,"uuid":"93964188","full_name":"st235/ArgsParser","owner":"st235","description":"Simple and fast arguments parser for Kotlin lang 😺","archived":false,"fork":false,"pushed_at":"2018-01-16T09:42:50.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T20:44:01.900Z","etag":null,"topics":["argument-parser","arguments","console-application","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/st235.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-10T20:41:33.000Z","updated_at":"2017-06-11T11:29:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7b3f415-ee2c-4e53-9128-1a21e755da62","html_url":"https://github.com/st235/ArgsParser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/st235/ArgsParser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2FArgsParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2FArgsParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2FArgsParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2FArgsParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/st235","download_url":"https://codeload.github.com/st235/ArgsParser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st235%2FArgsParser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34005030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["argument-parser","arguments","console-application","kotlin"],"created_at":"2024-11-15T01:17:05.490Z","updated_at":"2026-06-07T00:32:24.995Z","avatar_url":"https://github.com/st235.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kotlin Arguments Parser\n\nScheme builds by following rule:\n\n__typeName:argName__\n\n## Supported Types:\n\n- Boolean __(alias: bool, boolean)__\n- Integer __(alias: int, integer)__\n- Long __(alias: long)__\n- Double __(alias: float, double)__\n- String __(alias: text, string)__\n\n\n## Usage Example:\n\n```kotlin\nfun main(args: Array\u003cString\u003e) {\n    val argsParser = ArgsParser.Builder()\n            .setArgs(args)\n            .setScheme(\"int:id,text:name,int:age\")\n            .build()\n\n    print(\"id: ${argsParser.getInt(\"id\")}\\nname: ${argsParser.getString(\"name\")}\\nage: ${argsParser.getInt(\"age\")}\")\n}\n```\n\nTo run with passed args: __-id 1 -name alex -age 20__\n\nOutput\n\n```text\nTestApplicationKt -id 1 -name alex -age 20\nid: 1\nname: alex\nage: 20\nProcess finished with exit code 0\n```\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Alexander Dadukin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fst235%2Fargsparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fst235%2Fargsparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fst235%2Fargsparser/lists"}