{"id":15893090,"url":"https://github.com/ceejbot/dirac","last_synced_at":"2025-10-27T20:35:53.151Z","repository":{"id":66087003,"uuid":"44641325","full_name":"ceejbot/dirac","owner":"ceejbot","description":"command-line tool for adding \u0026 removing hosts from ansible inventory","archived":false,"fork":false,"pushed_at":"2017-05-02T18:15:30.000Z","size":57,"stargazers_count":4,"open_issues_count":19,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T00:11:53.918Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ceejbot.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}},"created_at":"2015-10-20T23:44:43.000Z","updated_at":"2022-01-10T09:19:00.000Z","dependencies_parsed_at":"2023-02-20T20:45:41.185Z","dependency_job_id":null,"html_url":"https://github.com/ceejbot/dirac","commit_stats":{"total_commits":71,"total_committers":3,"mean_commits":"23.666666666666668","dds":0.5070422535211268,"last_synced_commit":"a01f425bd3bace31f537faa402dd09821229f6ff"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceejbot%2Fdirac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceejbot%2Fdirac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceejbot%2Fdirac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceejbot%2Fdirac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ceejbot","download_url":"https://codeload.github.com/ceejbot/dirac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244070683,"owners_count":20393256,"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-06T08:07:26.386Z","updated_at":"2025-10-27T20:35:48.099Z","avatar_url":"https://github.com/ceejbot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @ceejbot/dirac\n\nAdd and remove hosts from ansible inventory files.\n\nParses existing files \u0026 preserves whitespace \u0026 comments.\n\n[![on npm](http://img.shields.io/npm/v/@ceejbot/dirac.svg?style=flat)](https://www.npmjs.org/package/@ceejbot/dirac)  [![Tests](http://img.shields.io/travis/ceejbot/dirac.svg?style=flat)](http://travis-ci.org/ceejbot/dirac) [![Coverage](http://img.shields.io/coveralls/ceejbot/dirac.svg?style=flat)](https://coveralls.io/r/ceejbot/dirac)\n\n## Usage\n\nInstall: `npm install -g @ceejbot/dirac`\n\nThen run:\n\n```\ncat /path/to/inventory | dirac [--var name=val] [--group groupname] foo.example.com \u003e output\n\nOptions:\n  --remove     remove this host from inventory; all other options ignored [boolean]\n  --group, -g  one or more groups to add this host to       [default: \"generic\"]\n  --var, -v    host vars to set; name=val format\n  --version    show version information                                [boolean]\n  --help       Show help                                               [boolean]\n```\n\nYou can specify as many `var` and `group` options as you need.\n\n## Notes\n\nThe Dirac Communicator is James Blish's name for an ansible-like communication device.\n\n## TODO\n\nHandle variables better.\n\n## LICENSE\n\nISC.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceejbot%2Fdirac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceejbot%2Fdirac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceejbot%2Fdirac/lists"}