{"id":5402768,"name":"github.com/codeskyblue/flags","ecosystem":"go","description":"Package flags provides an extensive command line option parser.\nThe flags package is similar in functionality to the go builtin flag package\nbut provides more options and uses reflection to provide a convenient and\nsuccinct way of specifying command line options.\n\nSupported features:\n\nThe flags package uses structs, reflection and struct field tags\nto allow users to specify command line options. This results in very simple\nand consise specification of your application options. For example:\n\nThis specifies one option with a short name -v and a long name --verbose.\nWhen either -v or --verbose is found on the command line, a 'true' value\nwill be appended to the Verbose field. e.g. when specifying -vvv, the\nresulting value of Verbose will be {[true, true, true]}.\n\nSlice options work exactly the same as primitive type options, except that\nwhenever the option is encountered, a value is appended to the slice.\n\nMap options from string to primitive type are also supported. On the command\nline, you specify the value for such an option as key:value. For example\n\nThen, the AuthorInfo map can be filled with something like\n-a name:Jesse -a \"surname:van den Kieboom\".\n\nAvailable field tags:\n\nEither short: or long: must be specified to make the field eligible as an\noption.","homepage":"https://github.com/codeskyblue/flags","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/codeskyblue/flags","keywords_array":[],"namespace":"github.com/codeskyblue","versions_count":1,"first_release_published_at":"2013-07-16T06:01:02.000Z","latest_release_published_at":"2013-07-16T06:01:02.000Z","latest_release_number":"v0.0.0-20130716060102-e9ea9b9f1486","last_synced_at":"2026-04-27T14:33:44.437Z","created_at":"2022-11-08T03:16:22.891Z","updated_at":"2026-04-27T14:33:44.438Z","registry_url":"https://pkg.go.dev/github.com/codeskyblue/flags","install_command":"go get github.com/codeskyblue/flags","documentation_url":"https://pkg.go.dev/github.com/codeskyblue/flags#section-documentation","metadata":{},"repo_metadata":{"uuid":"10704195","full_name":"codeskyblue/flags","owner":"codeskyblue","description":"go command line option parser","archived":false,"fork":true,"pushed_at":"2013-07-16T06:01:03.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-21T19:23:53.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jessevdk/go-flags","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"logo_url":null,"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-06-15T09:06:11.000Z","updated_at":"2023-03-21T19:23:53.414Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/codeskyblue/flags","commit_stats":null,"repository_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fflags","tags_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fflags/tags","manifests_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeskyblue%2Fflags/manifests","owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeskyblue","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":108921946,"host_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names"},"owner_record":{"login":"codeskyblue","name":"codeskyblue","uuid":"3281689","kind":"user","description":"Believe everything is possible.","email":"","website":"http://my.oschina.net/goskyblue/blog","location":"Hangzhou China","twitter":null,"company":"Alibaba","avatar_url":"https://avatars.githubusercontent.com/u/3281689?u=39ec4bc0d35cddcc7cbd00ed0c903f9b8799a22c\u0026v=4","repositories_count":141,"last_synced_at":"2023-02-19T22:30:29.353Z","metadata":{"has_sponsors_listing":false},"owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeskyblue"},"tags":[]},"repo_metadata_updated_at":"2023-03-22T07:42:06.690Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":9.345852080216646,"dependent_packages_count":6.999148183520997,"stargazers_count":10.884508724104611,"forks_count":8.968987819809952,"average":9.049624201913051},"purl":"pkg:golang/github.com/codeskyblue/flags","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/codeskyblue/flags","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/codeskyblue/flags","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/codeskyblue/flags/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-08-11T20:43:12.673Z","issues_count":0,"pull_requests_count":1,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":180.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"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},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcodeskyblue%2Fflags/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcodeskyblue%2Fflags/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcodeskyblue%2Fflags/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcodeskyblue%2Fflags/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcodeskyblue%2Fflags/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcodeskyblue%2Fflags/codemeta","maintainers":[]}