{"id":3586380,"name":"github.com/posener/cmd","ecosystem":"go","description":"Package cmd is a minimalistic library that enables easy sub commands with the standard `flag` library.","homepage":"https://github.com/posener/cmd","licenses":"apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/posener/cmd","keywords_array":[],"namespace":"github.com/posener","versions_count":8,"first_release_published_at":"2019-10-29T06:22:33.000Z","latest_release_published_at":"2020-09-27T14:23:06.000Z","latest_release_number":"v1.3.4","last_synced_at":"2026-08-22T02:54:54.520Z","created_at":"2022-04-11T04:44:30.053Z","updated_at":"2026-09-09T20:16:44.549Z","registry_url":"https://pkg.go.dev/github.com/posener/cmd","install_command":"go get github.com/posener/cmd","documentation_url":"https://pkg.go.dev/github.com/posener/cmd#section-documentation","metadata":{},"repo_metadata":{"id":57502227,"uuid":"218171249","full_name":"posener/cmd","owner":"posener","description":"The standard library flag package with its missing features","archived":false,"fork":false,"pushed_at":"2020-09-27T14:26:26.000Z","size":78,"stargazers_count":47,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-09-01T02:23:10.412Z","etag":null,"topics":["cmd","command","flag","go","golang","sub-command","subcommands"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posener.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}},"created_at":"2019-10-29T00:32:11.000Z","updated_at":"2026-02-22T21:05:27.000Z","dependencies_parsed_at":"2022-09-13T07:02:05.621Z","dependency_job_id":null,"html_url":"https://github.com/posener/cmd","commit_stats":null,"previous_names":["posener/subcmd"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/posener/cmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posener","download_url":"https://codeload.github.com/posener/cmd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/sbom","scorecard":{"id":741574,"data":{"date":"2025-08-11","repo":{"name":"github.com/posener/cmd","commit":"74170b4e3d54cbf127199d98e0bc259202e9fcdf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/25 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreadme.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/posener/cmd/goreadme.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/goreadme.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/posener/cmd/goreadme.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/posener/cmd/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/posener/cmd/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/posener/cmd/test.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/goreadme.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T17:36:11.396Z","repository_id":57502227,"created_at":"2025-08-22T17:36:11.403Z","updated_at":"2025-08-22T17:36:11.403Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37187828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-09T02:00:06.536Z","response_time":53,"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"},"owner_record":{"login":"posener","name":"Eyal Posener","uuid":"919294","kind":"user","description":"Sittin' on the dock of the bay","email":"","website":"https://posener.github.io/about","location":"San Francisco ","twitter":"posenerx","company":"@google","icon_url":"https://avatars.githubusercontent.com/u/919294?u=b39119bcc62b0339adb79fac73c100d79f1fa71e\u0026v=4","repositories_count":74,"last_synced_at":"2024-04-16T00:07:56.776Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/posener","funding_links":[],"total_stars":2074,"followers":244,"following":72,"created_at":"2022-11-09T13:59:43.654Z","updated_at":"2024-04-16T00:08:13.313Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posener","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posener/repositories"},"tags":[{"name":"v1.3.4","sha":"74170b4e3d54cbf127199d98e0bc259202e9fcdf","kind":"commit","published_at":"2020-09-27T14:23:06.000Z","download_url":"https://codeload.github.com/posener/cmd/tar.gz/v1.3.4","html_url":"https://github.com/posener/cmd/releases/tag/v1.3.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/posener/cmd@v1.3.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.4/manifests"},{"name":"v1.3.3","sha":"769c8c8ac5941dcccdd997d015b11e6eb096de4e","kind":"commit","published_at":"2020-09-15T18:40:25.000Z","download_url":"https://codeload.github.com/posener/cmd/tar.gz/v1.3.3","html_url":"https://github.com/posener/cmd/releases/tag/v1.3.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/posener/cmd@v1.3.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.3/manifests"},{"name":"v1.3.2","sha":"7c43a6c9f138f7c944f98ed86b59c803bbbde920","kind":"commit","published_at":"2020-03-06T06:50:34.000Z","download_url":"https://codeload.github.com/posener/cmd/tar.gz/v1.3.2","html_url":"https://github.com/posener/cmd/releases/tag/v1.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/posener/cmd@v1.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.2/manifests"},{"name":"v1.3.1","sha":"ea1b77968263e16b02ff3e0e791783417f86e3af","kind":"commit","published_at":"2019-11-27T21:15:27.000Z","download_url":"https://codeload.github.com/posener/cmd/tar.gz/v1.3.1","html_url":"https://github.com/posener/cmd/releases/tag/v1.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/posener/cmd@v1.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.1/manifests"},{"name":"v1.3.0","sha":"82486848f653fe5d0e73da7c25d72e2ef59ad0ec","kind":"commit","published_at":"2019-11-27T17:20:47.000Z","download_url":"https://codeload.github.com/posener/cmd/tar.gz/v1.3.0","html_url":"https://github.com/posener/cmd/releases/tag/v1.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/posener/cmd@v1.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.3.0/manifests"},{"name":"v1.2.0","sha":"67d2a89799444b8600233e2fe1a2038ff464ad30","kind":"commit","published_at":"2019-11-08T22:33:45.000Z","download_url":"https://codeload.github.com/posener/cmd/tar.gz/v1.2.0","html_url":"https://github.com/posener/cmd/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/posener/cmd@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"dbf3b745e14cc2fa676ca66aa92c77c9554fff33","kind":"commit","published_at":"2019-11-08T09:20:28.000Z","download_url":"https://codeload.github.com/posener/cmd/tar.gz/v1.1.0","html_url":"https://github.com/posener/cmd/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/posener/cmd@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"6a6054a7290327ba15dd6678d171422392c43cc3","kind":"commit","published_at":"2019-10-29T06:22:33.000Z","download_url":"https://codeload.github.com/posener/cmd/tar.gz/v1.0.0","html_url":"https://github.com/posener/cmd/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/posener/cmd@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-09T20:16:44.548Z","dependent_packages_count":8,"downloads":null,"downloads_period":null,"dependent_repos_count":5,"rankings":{"downloads":null,"dependent_repos_count":2.267014417592579,"dependent_packages_count":1.8920263526857728,"stargazers_count":6.531267926552747,"forks_count":11.058378650988917,"docker_downloads_count":null,"average":5.437171836955004},"purl":"pkg:golang/github.com/posener/cmd","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/posener/cmd","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/posener/cmd","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/posener/cmd/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-09T20:16:44.479Z","issues_count":3,"pull_requests_count":24,"avg_time_to_close_issue":1667549.0,"avg_time_to_close_pull_request":34461.545454545456,"issues_closed_count":3,"pull_requests_closed_count":22,"pull_request_authors_count":4,"issue_authors_count":2,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":18,"bot_issues_count":0,"bot_pull_requests_count":16,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/posener%2Fcmd/issues","maintainers":[{"login":"posener","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/posener"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fposener%2Fcmd/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fposener%2Fcmd/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fposener%2Fcmd/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fposener%2Fcmd/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fposener%2Fcmd/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fposener%2Fcmd/codemeta","maintainers":[]}