{"id":17528588,"url":"https://github.com/itsdalmo/cli","last_synced_at":"2025-08-03T15:34:08.631Z","repository":{"id":45924286,"uuid":"276905968","full_name":"itsdalmo/cli","owner":"itsdalmo","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-15T15:55:42.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T11:21:57.040Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/itsdalmo.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2020-07-03T13:25:40.000Z","updated_at":"2021-11-27T22:57:45.000Z","dependencies_parsed_at":"2022-09-05T09:51:17.379Z","dependency_job_id":null,"html_url":"https://github.com/itsdalmo/cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdalmo%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdalmo%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdalmo%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdalmo%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsdalmo","download_url":"https://codeload.github.com/itsdalmo/cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122963,"owners_count":20726919,"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":[],"created_at":"2024-10-20T15:44:16.424Z","updated_at":"2025-03-29T01:21:45.414Z","avatar_url":"https://github.com/itsdalmo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## CLI\n\nA minimal package for building CLIs in Go, built around [spf13/pflag](https://github.com/spf13/pflag) with inspiration from existing CLI packages.\n\n[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/github.com/itsdalmo/cli)\n[![latest release](https://img.shields.io/github/v/release/itsdalmo/cli?style=flat-square)](https://github.com/itsdalmo/cli/releases/latest)\n[![build status](https://img.shields.io/github/workflow/status/itsdalmo/cli/test?label=build\u0026logo=github\u0026style=flat-square)](https://github.com/itsdalmo/cli/actions?query=workflow%3Atest)\n[![code quality](https://goreportcard.com/badge/github.com/itsdalmo/cli?style=flat-square)](https://goreportcard.com/report/github.com/itsdalmo/cli)\n\n#### TODO\n- [x] Add validation for redeclared flag names (and shorthand) in subcommands (instead of pflag panic).\n- [x] Print global flags in a separate section under usage.\n- [ ] Generate more flag types :D\n- [ ] Validate arguments based on Usage? E.g. `command \u003cin\u003e \u003cout\u003e` could validate that two positional arguments exist during parse?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdalmo%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsdalmo%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdalmo%2Fcli/lists"}