{"id":17087826,"url":"https://github.com/mosch/toml-tool","last_synced_at":"2026-05-03T16:33:10.274Z","repository":{"id":66291546,"uuid":"386068512","full_name":"mosch/toml-tool","owner":"mosch","description":"a cli tool for reading and manipulating toml files","archived":false,"fork":false,"pushed_at":"2021-07-15T10:13:45.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T21:18:18.532Z","etag":null,"topics":["cli","toml","toml-config"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mosch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-07-14T20:29:18.000Z","updated_at":"2021-07-15T17:24:14.000Z","dependencies_parsed_at":"2023-02-22T07:30:47.227Z","dependency_job_id":null,"html_url":"https://github.com/mosch/toml-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosch%2Ftoml-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosch%2Ftoml-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosch%2Ftoml-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mosch%2Ftoml-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mosch","download_url":"https://codeload.github.com/mosch/toml-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245119592,"owners_count":20563763,"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":["cli","toml","toml-config"],"created_at":"2024-10-14T13:35:03.947Z","updated_at":"2026-05-03T16:33:05.196Z","avatar_url":"https://github.com/mosch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# toml-tool\n\nSimple cli tool for reading and manipulating toml files.\n\n## Usage\n\n```\ntoml-tool [command]\n\nCommands:\n  toml-tool get \u003cfile\u003e \u003cpath\u003e\n  toml-tool set \u003cfile\u003e --category.foo=\"bar\" --category.my.foo=\"bar\"\n\nOptions:\n      --help     Show help                                             [boolean]\n      --version  Show version number                                   [boolean]\n  -w, --write    Write changes back to file                            [boolean]\n```\n\n### Using with yarn / npm\n\nYou can use this tool in your script with npm \u0026 yarn like so:\n\n```\nyarn toml-tool set myconfig.toml ...\nyarn toml-tool get myconfig.toml myvalue\n```\n\n### Exmaples\n\n```\nhello = \"world\"\n\n[production]\nhello = \"foo\"\n\n[development]\nhello = \"bar\"\n```\n\n#### Manipulating\n\n```\ntoml-tool set test.toml --hello=my --production.hello=cat\nhello = \"my\"\n\n[production]\nhello = \"cat\"\n\n[development]\nhello = \"bar\"\n```\n\n*To write the changes into the file add the -w (write) flag*\n\n#### Reading\n\n```\ntoml-tool get test.toml hello\nworld\n```\n\n```\ntoml-tool get test.toml hello.production\nfoo\n```\n\n```\ntoml-tool get test.toml hello.development\nbar\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosch%2Ftoml-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmosch%2Ftoml-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmosch%2Ftoml-tool/lists"}