{"id":22614006,"url":"https://github.com/dan149/zarginator","last_synced_at":"2025-03-29T00:24:15.926Z","repository":{"id":267004930,"uuid":"899993773","full_name":"Dan149/zarginator","owner":"Dan149","description":"Easy-to-use argument-parser for Zig.","archived":false,"fork":false,"pushed_at":"2024-12-07T17:12:40.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T10:32:37.125Z","etag":null,"topics":["argparse","argument-parser","cmdline","library","zig","zig-library","zig-package","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/Dan149.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,"publiccode":null,"codemeta":null}},"created_at":"2024-12-07T15:21:47.000Z","updated_at":"2024-12-07T17:12:43.000Z","dependencies_parsed_at":"2024-12-12T22:15:37.195Z","dependency_job_id":null,"html_url":"https://github.com/Dan149/zarginator","commit_stats":null,"previous_names":["dan149/zarginator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dan149%2Fzarginator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dan149%2Fzarginator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dan149%2Fzarginator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dan149%2Fzarginator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dan149","download_url":"https://codeload.github.com/Dan149/zarginator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246119029,"owners_count":20726317,"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":["argparse","argument-parser","cmdline","library","zig","zig-library","zig-package","ziglang"],"created_at":"2024-12-08T18:06:43.026Z","updated_at":"2025-03-29T00:24:15.919Z","avatar_url":"https://github.com/Dan149.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zarginator\n## Easy-to-use command line args management library for zig.\n\n### How to add Zarginator package to your zig project:\n\nFirst add Zarginator to your _build.zig.zon_ dependencies:\n\n`zig fetch --save git+https://github.com/Dan149/zarginator/#HEAD`\n\nThen add the dependency to your _build.zig_ file:\n\n```\n(...)\n\nconst zarginator_package = b.dependency(\"zarginator\", .{\n        .target = target,\n        .optimize = optimize,\n    });\n\nconst zarginator_module = zarginator_package.module(\"zarginator\");\nexe.root_module.addImport(\"zarginator\", zarginator_module);\n```\n\n### How to use Zarginator:\n\nImport: `const zarg = @import(\"zarginator\");`\n\nSee [main.zig](src/main.zig) file\nand Flag struct in [root.zig](src/root.zig#L3C1-L6C3) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan149%2Fzarginator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdan149%2Fzarginator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan149%2Fzarginator/lists"}