{"id":12628241,"name":"github.com/spf13/pFLAG","ecosystem":"go","description":"Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.","homepage":"https://github.com/spf13/pFLAG","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/spf13/pFLAG","keywords_array":[],"namespace":"github.com/spf13","versions_count":12,"first_release_published_at":"2017-05-08T18:44:08.000Z","latest_release_published_at":"2025-09-02T06:08:29.000Z","latest_release_number":"v1.0.10","last_synced_at":"2026-10-04T01:31:38.057Z","created_at":"2025-12-27T10:57:29.054Z","updated_at":"2026-10-04T20:29:12.271Z","registry_url":"https://pkg.go.dev/github.com/spf13/pFLAG","install_command":"go get github.com/spf13/pFLAG","documentation_url":"https://pkg.go.dev/github.com/spf13/pFLAG#section-documentation","metadata":null,"repo_metadata":{"id":40589264,"uuid":"12488845","full_name":"spf13/pflag","owner":"spf13","description":"Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.","archived":false,"fork":true,"pushed_at":"2026-09-21T07:43:12.000Z","size":489,"stargazers_count":2773,"open_issues_count":142,"forks_count":390,"subscribers_count":31,"default_branch":"master","last_synced_at":"2026-10-04T12:50:56.317Z","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":"ogier/pflag","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spf13.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":"2013-08-30T14:53:31.000Z","updated_at":"2026-10-03T19:33:06.000Z","dependencies_parsed_at":"2023-01-31T13:16:02.344Z","dependency_job_id":null,"html_url":"https://github.com/spf13/pflag","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/spf13/pflag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spf13","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/sbom","scorecard":{"id":841252,"data":{"date":"2025-08-11","repo":{"name":"github.com/spf13/pflag","commit":"1db553c27f5b9952dbb6484ed9999547b9e7dfb2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.9,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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":"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":"Maintained","score":10,"reason":"21 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10","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/ci.yaml: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":"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":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   4 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 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":"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: BSD 3-Clause \"New\" or \"Revised\" License: 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 30 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-23T20:32:11.142Z","repository_id":40589264,"created_at":"2025-08-23T20:32:11.142Z","updated_at":"2025-08-23T20:32:11.142Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343072799,"owners_count":38014948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-04T02:00:06.888Z","response_time":127,"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":"spf13","name":"Steve Francia","uuid":"173412","kind":"user","description":"Always learning • MD @twosigma • Ex @golang lead @Google, VP @Docker, @MongoDB, @Drupal board • @gohugoio, Cobra \u0026 spf13-vim creator","email":"","website":"http://spf13.com","location":"NYC","twitter":"spf13","company":"@twosigma","icon_url":"https://avatars.githubusercontent.com/u/173412?u=4865036ec60149f8354adcae563ff5cba01e0022\u0026v=4","repositories_count":105,"last_synced_at":"2023-04-09T10:53:55.261Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/spf13","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T16:25:09.256Z","updated_at":"2023-04-09T10:53:55.656Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spf13","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spf13/repositories"},"tags":[{"name":"v1.0.10","sha":"0491e5702ad2bb108bc519a5221bcc0f52aa9564","kind":"commit","published_at":"2025-09-02T06:08:29.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.10","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.10","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.10","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.10","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.10/manifests"},{"name":"v1.0.9","sha":"10438578954bba2527fe5cae3684d4532b064bbe","kind":"commit","published_at":"2025-09-01T07:27:15.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.9","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.9","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.9","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.9","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.9/manifests"},{"name":"v1.0.8","sha":"b9c16fa5ec31cd7339621b8d208bf4f2769486c4","kind":"commit","published_at":"2025-08-31T19:49:19.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.8","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.8/manifests"},{"name":"v1.0.7","sha":"f9cbdd9ca94287ab4ef0848e67ecd77cf1361d48","kind":"commit","published_at":"2025-07-16T21:42:25.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.7","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.7/manifests"},{"name":"v1.0.6","sha":"5ca813443bd2a4d9f46a253ea0407d23b3790713","kind":"commit","published_at":"2025-01-09T00:37:54.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.6","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.6/manifests"},{"name":"v1.0.5","sha":"2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab","kind":"commit","published_at":"2019-09-18T19:59:20.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.5","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.5/manifests"},{"name":"v1.0.5-rc1","sha":"2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab","kind":"commit","published_at":"2019-09-18T19:59:20.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.5-rc1","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.5-rc1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.5-rc1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.5-rc1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.5-rc1/manifests"},{"name":"v1.0.4","sha":"e8f29969b682c41a730f8f08b76033b120498464","kind":"commit","published_at":"2019-09-17T17:48:46.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.4","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.4/manifests"},{"name":"v1.0.3","sha":"298182f68c66c05229eb03ac171abe6e309ee79a","kind":"commit","published_at":"2018-08-31T15:14:32.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.3","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"9a97c102cda95a86cec2345a6f09f55a939babf5","kind":"commit","published_at":"2018-08-08T15:28:24.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.2","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"583c0c0531f06d5278b7d917446061adc344b5cd","kind":"commit","published_at":"2018-04-12T12:09:13.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.1","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"e57e3eeb33f795204c1ca35f56c44f83227c6e66","kind":"commit","published_at":"2017-05-08T18:44:08.000Z","download_url":"https://codeload.github.com/spf13/pflag/tar.gz/v1.0.0","html_url":"https://github.com/spf13/pflag/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/spf13/pflag@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-04T20:29:12.271Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":5.366346634708078,"dependent_packages_count":5.0287691730467365,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":5.197557903877407},"purl":"pkg:golang/github.com/spf13/pFLAG","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/spf13/pFLAG","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/spf13/pFLAG","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/spf13/pFLAG/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-04T01:31:15.583Z","issues_count":97,"pull_requests_count":169,"avg_time_to_close_issue":70001711.19565217,"avg_time_to_close_pull_request":22722370.476190478,"issues_closed_count":46,"pull_requests_closed_count":84,"pull_request_authors_count":102,"issue_authors_count":92,"avg_comments_per_issue":3.051546391752577,"avg_comments_per_pull_request":2.4023668639053253,"merged_pull_requests_count":41,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":4,"past_year_pull_requests_count":52,"past_year_avg_time_to_close_issue":20530350.0,"past_year_avg_time_to_close_pull_request":291850.26470588235,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":34,"past_year_pull_request_authors_count":28,"past_year_issue_authors_count":4,"past_year_avg_comments_per_issue":0.5,"past_year_avg_comments_per_pull_request":1.6538461538461537,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":12,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/spf13%2Fpflag/issues","maintainers":[{"login":"tomasaschan","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tomasaschan"},{"login":"fredbi","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/fredbi"},{"login":"sagikazarmark","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sagikazarmark"},{"login":"davidlattimore","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/davidlattimore"},{"login":"eparis","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/eparis"}],"active_maintainers":[{"login":"tomasaschan","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tomasaschan"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fspf13%2FpFLAG/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fspf13%2FpFLAG/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fspf13%2FpFLAG/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fspf13%2FpFLAG/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fspf13%2FpFLAG/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fspf13%2FpFLAG/codemeta","maintainers":[]}