{"id":3657390,"name":"github.com/thediveo/enumflag","ecosystem":"go","description":"Package enumflag supplements the Golang CLI flag handling packages spf13/cobra and spf13/pflag with enumeration flags.","homepage":"https://github.com/thediveo/enumflag","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/thediveo/enumflag","keywords_array":[],"namespace":"github.com/thediveo","versions_count":3,"first_release_published_at":"2020-04-11T16:10:49.000Z","latest_release_published_at":"2020-09-14T08:22:11.000Z","latest_release_number":"v0.10.1","last_synced_at":"2026-07-09T19:21:32.811Z","created_at":"2022-04-11T09:52:10.128Z","updated_at":"2026-09-16T01:35:05.492Z","registry_url":"https://pkg.go.dev/github.com/thediveo/enumflag","install_command":"go get github.com/thediveo/enumflag","documentation_url":"https://pkg.go.dev/github.com/thediveo/enumflag#section-documentation","metadata":{},"repo_metadata":{"id":54612664,"uuid":"254700073","full_name":"thediveo/enumflag","owner":"thediveo","description":"Typed enumeration flags (single and slice) for spf13/pflag, Go's flag drop-in package.","archived":false,"fork":false,"pushed_at":"2026-06-05T11:53:02.000Z","size":174,"stargazers_count":35,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-09-11T10:57:20.585Z","etag":null,"topics":["cli","cli-flags","enum","go","golang"],"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/thediveo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-10T17:52:54.000Z","updated_at":"2026-06-12T03:42:50.000Z","dependencies_parsed_at":"2022-08-13T21:31:12.529Z","dependency_job_id":"853458a7-fb63-4df6-99b6-2aef2b121c44","html_url":"https://github.com/thediveo/enumflag","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/thediveo/enumflag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thediveo","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/sbom","scorecard":{"id":878353,"data":{"date":"2025-08-11","repo":{"name":"github.com/thediveo/enumflag","commit":"9d40a41a96c6b0cac992133577cd5ef428fd9ab3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   2 out of   2 GitHub-owned 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":"Code-Review","score":1,"reason":"Found 2/14 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/buildandtest.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":"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 23 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":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"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-24T06:58:51.582Z","repository_id":54612664,"created_at":"2025-08-24T06:58:51.582Z","updated_at":"2025-08-24T06:58:51.582Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37349869,"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-15T02:00:05.939Z","response_time":113,"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":"thediveo","name":"TheDiveO","uuid":"6920158","kind":"user","description":"","email":"","website":"https://thediveo.github.io/","location":"Internet","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/6920158?v=4","repositories_count":59,"last_synced_at":"2024-05-16T14:01:17.687Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/thediveo","funding_links":[],"total_stars":224,"followers":18,"following":0,"created_at":"2022-11-09T08:45:16.716Z","updated_at":"2024-05-16T14:01:27.612Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thediveo","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thediveo/repositories"},"tags":[{"name":"v2.1.0","sha":"6cd72dd082d2640417f27c02a687c799a30a331a","kind":"tag","published_at":"2026-01-03T16:14:57.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v2.1.0","html_url":"https://github.com/thediveo/enumflag/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.1.0/manifests"},{"name":"v2.0.7","sha":"b2acc9e706d6bd45c3bb238071fabf2dcaf41a8a","kind":"tag","published_at":"2025-01-05T18:00:16.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v2.0.7","html_url":"https://github.com/thediveo/enumflag/releases/tag/v2.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v2.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.7/manifests"},{"name":"v2.0.6","sha":"283adeb0e85c3e4e180f0011451592c375ba0105","kind":"tag","published_at":"2025-01-05T15:41:35.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v2.0.6","html_url":"https://github.com/thediveo/enumflag/releases/tag/v2.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v2.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.6/manifests"},{"name":"v2.0.5","sha":"471f81cc7ed76a0727d9d8c7de43d86894e5ed92","kind":"tag","published_at":"2023-10-23T10:25:23.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v2.0.5","html_url":"https://github.com/thediveo/enumflag/releases/tag/v2.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v2.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.5/manifests"},{"name":"v2.0.4","sha":"054d94bcb25949316eac992d184f5825d9156dc1","kind":"tag","published_at":"2023-06-19T09:15:30.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v2.0.4","html_url":"https://github.com/thediveo/enumflag/releases/tag/v2.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v2.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.4/manifests"},{"name":"v2.0.3","sha":"387f440dba777e5ece3a1d2389e9059f2f361997","kind":"tag","published_at":"2023-05-31T17:48:27.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v2.0.3","html_url":"https://github.com/thediveo/enumflag/releases/tag/v2.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v2.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.3/manifests"},{"name":"v2.0.2","sha":"96631fa863ed67038d6b3b1200b3a1bc9ff57cbd","kind":"commit","published_at":"2023-02-19T16:20:43.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v2.0.2","html_url":"https://github.com/thediveo/enumflag/releases/tag/v2.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v2.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.2/manifests"},{"name":"v2.0.1","sha":"0217df583bf3d37b92798602e5061b36556bcd38","kind":"commit","published_at":"2022-08-12T20:29:58.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v2.0.1","html_url":"https://github.com/thediveo/enumflag/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"9705d01ad3d78ab480a92249af9e821bc4f9699c","kind":"commit","published_at":"2022-08-12T20:21:02.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v2.0.0","html_url":"https://github.com/thediveo/enumflag/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v2.0.0/manifests"},{"name":"v0.10.1","sha":"69e394901b1bcb3e5ff9491482502aa512c02b48","kind":"tag","published_at":"2020-09-14T08:23:31.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v0.10.1","html_url":"https://github.com/thediveo/enumflag/releases/tag/v0.10.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v0.10.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v0.10.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v0.10.1/manifests"},{"name":"v0.10.0","sha":"0f4ef41dae7bf66ddb2224d30271b055c718b8fc","kind":"commit","published_at":"2020-04-13T15:37:17.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v0.10.0","html_url":"https://github.com/thediveo/enumflag/releases/tag/v0.10.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v0.10.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v0.10.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v0.10.0/manifests"},{"name":"v0.9.0","sha":"c9d8c8978891539b5dbc171a1b24f67cc89bb61d","kind":"tag","published_at":"2020-04-11T16:11:06.000Z","download_url":"https://codeload.github.com/thediveo/enumflag/tar.gz/v0.9.0","html_url":"https://github.com/thediveo/enumflag/releases/tag/v0.9.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/thediveo/enumflag@v0.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v0.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/tags/v0.9.0/manifests"}]},"repo_metadata_updated_at":"2026-09-16T01:35:05.492Z","dependent_packages_count":42,"downloads":null,"downloads_period":null,"dependent_repos_count":37,"rankings":{"downloads":null,"dependent_repos_count":0.9186939239755821,"dependent_packages_count":0.7378994770775228,"stargazers_count":9.085755041224603,"forks_count":11.071819661320475,"docker_downloads_count":0.8029370778858039,"average":4.5234210362967975},"purl":"pkg:golang/github.com/thediveo/enumflag","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/thediveo/enumflag","docker_dependents_count":6,"docker_downloads_count":50088,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/thediveo/enumflag","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/thediveo/enumflag/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-11T10:34:05.208Z","issues_count":3,"pull_requests_count":13,"avg_time_to_close_issue":425444.0,"avg_time_to_close_pull_request":2538094.25,"issues_closed_count":3,"pull_requests_closed_count":12,"pull_request_authors_count":5,"issue_authors_count":3,"avg_comments_per_issue":5.0,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":11,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":4,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":371080.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":4,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":2.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":4,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/thediveo%2Fenumflag/issues","maintainers":[{"login":"thediveo","count":8,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/thediveo"}],"active_maintainers":[{"login":"thediveo","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/thediveo"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fthediveo%2Fenumflag/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fthediveo%2Fenumflag/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fthediveo%2Fenumflag/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fthediveo%2Fenumflag/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fthediveo%2Fenumflag/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fthediveo%2Fenumflag/codemeta","maintainers":[]}