{"id":20103807,"url":"https://github.com/ancientlore/flagcfg","last_synced_at":"2026-01-28T15:32:38.551Z","repository":{"id":32858602,"uuid":"36452369","full_name":"ancientlore/flagcfg","owner":"ancientlore","description":"The flagcfg package populates flags from a TOML config file.","archived":false,"fork":false,"pushed_at":"2025-12-28T14:31:06.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-31T02:44:14.325Z","etag":null,"topics":["configuration","flag","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ancientlore.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,"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":"2015-05-28T16:44:16.000Z","updated_at":"2025-12-28T14:30:42.000Z","dependencies_parsed_at":"2024-06-21T16:43:48.544Z","dependency_job_id":"d9e8ae4d-3ddd-4575-a9f6-8cb4e62b3c7b","html_url":"https://github.com/ancientlore/flagcfg","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/ancientlore/flagcfg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fflagcfg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fflagcfg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fflagcfg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fflagcfg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ancientlore","download_url":"https://codeload.github.com/ancientlore/flagcfg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fflagcfg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["configuration","flag","golang"],"created_at":"2024-11-13T17:38:34.586Z","updated_at":"2026-01-28T15:32:38.526Z","avatar_url":"https://github.com/ancientlore.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"flagcfg\n=======\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/ancientlore/flagcfg.svg)](https://pkg.go.dev/github.com/ancientlore/flagcfg)\n\nThe flagcfg package populates flags from a TOML config file.\nEach flag is assumed to have an optional top-level value\nin the config file, having the same name. However, if a\nflag contains a dash or a period, those are converted to\nunderscores.\n\nFlags that have aready been assigned are not overwritten.\n\nThis package can be used together with github.com/facebookgo/flagenv\nto load flags from a config file, environment variable, or command-line.\n\nExample:\n\n\t// Parse flags from command-line\n\tflag.Parse()\n\n\t// Parser flags from config\n\tflagcfg.AddDefaults()\n\t// or use flagcfg.AddDefaultFiles(\"MYAPP_CONFIG\", \"myapp.config\")\n\tflagcfg.Parse()\n\n\t// Parse flags from environment (using github.com/facebookgo/flagenv)\n\tflagenv.Prefix = \"MYPREFIX_\"\n\tflagenv.Parse()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fancientlore%2Fflagcfg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fancientlore%2Fflagcfg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fancientlore%2Fflagcfg/lists"}