{"id":17537711,"url":"https://github.com/bates64/wren-args","last_synced_at":"2026-01-06T19:55:44.014Z","repository":{"id":90641260,"uuid":"118496441","full_name":"bates64/wren-args","owner":"bates64","description":"Simple command line arguments parser for Wren","archived":false,"fork":false,"pushed_at":"2018-01-22T18:19:58.000Z","size":1,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T13:45:07.275Z","etag":null,"topics":["wren"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bates64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-01-22T18:18:59.000Z","updated_at":"2023-12-30T18:53:39.000Z","dependencies_parsed_at":"2023-07-16T03:45:55.207Z","dependency_job_id":null,"html_url":"https://github.com/bates64/wren-args","commit_stats":null,"previous_names":["bates64/wren-args"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bates64%2Fwren-args","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bates64%2Fwren-args/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bates64%2Fwren-args/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bates64%2Fwren-args/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bates64","download_url":"https://codeload.github.com/bates64/wren-args/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246135739,"owners_count":20729056,"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":["wren"],"created_at":"2024-10-20T20:42:35.614Z","updated_at":"2026-01-06T19:55:43.973Z","avatar_url":"https://github.com/bates64.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# wren-args\nSuper-simple command-line arguments parser for [Wren](https://github.com/munificent/wren).\n\n```dart\nimport \"args\" for Args\n\nvar args = Args.parse()\n\nif (args[\"special-mode\"]) System.print(\"Special mode activated!\")\n```\n\n### Args.parse(List\u003cString\u003e args) -\u003e List\u003cMap args, List loneValues\u003e\nParses a list of strings like `Process.arguments`.\n\n```dart\nArgs.parse([ \"lone\", \"-dc\", \"--with\", \"value\" ]) = [\n  {\n    // 'true' denotes the arguments were provided, but had no value assigned.\n    \"d\": true,\n    \"c\": true,\n\n    // Note that all argument values are returned as Strings. Use Num.fromString\n    // to obtain number values, if required.\n    \"with\": \"value\"\n  },\n\n  // Lone values. These are values that had no preceeding argument name before them.\n  [ \"lone\" ]\n]\n```\n\n### Args.parse()\nCalls `Args.parse(args)` with `Process.arguments`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbates64%2Fwren-args","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbates64%2Fwren-args","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbates64%2Fwren-args/lists"}