{"id":22100143,"url":"https://github.com/olorin37/hbs-cli","last_synced_at":"2025-07-24T23:33:44.013Z","repository":{"id":62440018,"uuid":"230934722","full_name":"olorin37/hbs-cli","owner":"olorin37","description":"Simple, yet usefull handlebars CLI, templates are feeded from YAML (so, JSON too) property file.","archived":false,"fork":false,"pushed_at":"2024-07-17T21:57:04.000Z","size":77,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-31T11:52:36.936Z","etag":null,"topics":["cli","handlebars","handlebars-template","json","shell","template","utility","yaml"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/olorin37.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-12-30T15:03:43.000Z","updated_at":"2024-10-09T13:22:18.000Z","dependencies_parsed_at":"2024-06-22T13:28:39.954Z","dependency_job_id":"96823706-43e5-40ae-a50c-d72394788377","html_url":"https://github.com/olorin37/hbs-cli","commit_stats":{"total_commits":29,"total_committers":3,"mean_commits":9.666666666666666,"dds":"0.48275862068965514","last_synced_commit":"0fc804529a872d889d54ad8ada9da2d274347714"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olorin37%2Fhbs-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olorin37%2Fhbs-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olorin37%2Fhbs-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olorin37%2Fhbs-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olorin37","download_url":"https://codeload.github.com/olorin37/hbs-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227489235,"owners_count":17780529,"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","handlebars","handlebars-template","json","shell","template","utility","yaml"],"created_at":"2024-12-01T05:12:18.298Z","updated_at":"2024-12-01T05:12:19.154Z","avatar_url":"https://github.com/olorin37.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple Handlebars CLI\n=====================\n\nSimple, but already useful CLI for generating text from handlebars\ntemplates, by feeding them with data from file (YAML parser used is\nfor it, so JSON is also supported), writen in Rust programming language\n(with usage serde_yaml and handlebars crates).\n\nGoal\n----\nThe idea is to prepare utility which should be easly used from\nshell script.\n\nUsage\n-----\n\nThe simplest call:\n\n```bash\nhbs-cli \u003cproperties file\u003e \u003ctemplate file\u003e \u003e \u003coutput file\u003e\n```\nor \n\n```bash\nhbs-cli \u003cproperties file\u003e \u003ctemplate file\u003e -o \u003coutput file\u003e\n```\n\nOr with template registration for using them as partials:\n\n```bash\nhbs-cli \u003cproperties file\u003e \u003ctemplate file\u003e -r 'partials/**/*.hbs'\n```\n\nWhere `\u003cproperties file\u003e` can be ether YAML or JSON (as YAML parser is a\nJSON parser too) and `\u003ctemplate file\u003e` is handlebars template. Template\nis generated on standard output.\n\nTo see more options call `hbs-cli --help`.\n\nBuilding\n--------\n\n```bash\n# to install rust toolchain, skip if already installed\nrustup toolchain install stable \n\ncargo build --release\n```\n\nLicense [![badge][license-mit-badge]](LICENSE-MIT)\n-------\n\nThis software is distributed under MIT license. See `LICENSE` file in the root of the repository.\n\n[license-mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folorin37%2Fhbs-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folorin37%2Fhbs-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folorin37%2Fhbs-cli/lists"}