{"adoption": {"forks": 114, "observed_at": "2026-08-28T04:06:33.420321+00:00", "stars": 2275}, "canonical_url": "https://ross.abutalabs.com/products/go-arg", "card": {"archived": false, "artifact_type": "library", "description": "Struct-based argument parsing in Go", "domain": ["developer-tools"], "enriched": true, "function": ["cli", "developer-tools"], "health_score": 72, "homepage": "https://pkg.go.dev/github.com/alexflint/go-arg", "language": "Go", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["alexflint/go-arg"], "name": "alexflint/go-arg", "platform": ["go", "cross-platform"], "pushed_at": "2025-12-27T22:04:21+00:00", "repo": "alexflint/go-arg", "stars": 2275, "tags": ["argument-parsing", "struct-based", "cli-flags", "environment-variables", "command-line"], "topics": ["argument-parsing", "golang"], "urls": [], "use_cases": ["parse command line flags into a Go struct", "define CLI arguments with struct tags", "read configuration from environment variables and flags", "generate usage and help text automatically", "handle positional arguments in a Go CLI", "build subcommands for a Go command-line tool"], "what_it_is": "go-arg is a Go library for parsing command line arguments by declaring them as struct fields with tags. It supports required and positional arguments, environment variables, subcommands, and automatic usage/help generation.", "when_to_avoid": ["you need advanced features like shell completion or complex grammar offered by cobra/urfave-cli", "you are not writing Go", "you need runtime-defined dynamic arguments rather than compile-time structs"], "when_to_choose": ["you want declarative, struct-based flag parsing in Go with minimal boilerplate", "you need automatic help/usage generation and validation of required args", "you want flags backed by environment variables"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/go-arg", "repo": "alexflint/go-arg", "role": "main", "score": 60}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:33.420321+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:41:28.850061+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4f61bfd16295f36f5a74921382913df0d8ddfcd1926491690e31fa95cb1bcc18", "fetched_at": "2026-08-28T04:06:33.420321+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alexflint/go-arg"}, {"content_hash": "3f96815bd4eb8481eee677c7abe18686098aa8c0b520e9b6db418f7295120f23", "fetched_at": "2026-08-29T10:21:55.911628+00:00", "kind": "homepage", "missing": false, "url": "https://pkg.go.dev/github.com/alexflint/go-arg"}, {"content_hash": "75785202787982b0473b4d3670a3a27d75ac579d845d284ac1c5eb57ab52ce15", "fetched_at": "2026-08-29T10:21:55.915098+00:00", "kind": "site_page", "missing": false, "url": "https://pkg.go.dev/about"}, {"content_hash": "d5ca00bb378b3176005edcb1536e3eac5a43d18a9370fe9acade241faac7a003", "fetched_at": "2026-08-29T10:21:55.917195+00:00", "kind": "site_page", "missing": false, "url": "https://go.dev/project"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 59, "longevity": 100, "rhythm": 38}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3959, "days_push": 249, "days_rel": 253, "gap_med": 164, "n_releases_24m": 2}, "score": 60, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}