{"id":16092304,"url":"https://github.com/alecthomas/kong-toml","last_synced_at":"2026-02-03T11:04:40.302Z","repository":{"id":196217209,"uuid":"694951595","full_name":"alecthomas/kong-toml","owner":"alecthomas","description":"Kong configuration loader for TOML","archived":false,"fork":false,"pushed_at":"2024-04-18T21:19:59.000Z","size":5,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T00:32:13.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alecthomas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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}},"created_at":"2023-09-22T03:14:55.000Z","updated_at":"2025-02-06T17:43:33.000Z","dependencies_parsed_at":"2024-04-19T19:19:17.961Z","dependency_job_id":null,"html_url":"https://github.com/alecthomas/kong-toml","commit_stats":null,"previous_names":["alecthomas/kong-toml"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Fkong-toml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Fkong-toml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Fkong-toml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Fkong-toml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alecthomas","download_url":"https://codeload.github.com/alecthomas/kong-toml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246786528,"owners_count":20833707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-09T16:06:56.396Z","updated_at":"2026-02-03T11:04:35.245Z","avatar_url":"https://github.com/alecthomas.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TOML Configuration Loader for [Kong](https://github.com/alecthomas/kong)\n\nUsage:\n\n```go\nkctx := kong.Parse(\u0026cli, kong.Configuration(kongtoml.Loader, \".app.toml\", \"~/.app.toml\"))\n```\n\n## Configuration mapping\n\nMapping is achieved by normalising both flags and configuration entries to\nhyphen-separated keys.\n\neg. the flag `ftl init go --no-hermit` will be mapped to the configuration key\n`init-go-no-hermit = true`, with fallback to `no-hermit = true`.\n\nTOML sections are prefixed to attributes via concatenation with `-`. eg.\n\n```toml\n[\"init go\"]\nno-hermit = true\n```\n\nWill be mapped to `init-go-no-hermit = true`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecthomas%2Fkong-toml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falecthomas%2Fkong-toml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecthomas%2Fkong-toml/lists"}