{"id":17691175,"url":"https://github.com/kj-9/tera-cli","last_synced_at":"2025-07-06T10:07:06.119Z","repository":{"id":231124300,"uuid":"780976009","full_name":"kj-9/tera-cli","owner":"kj-9","description":"Simple cli tool to render tera templates","archived":false,"fork":false,"pushed_at":"2025-01-13T21:33:48.000Z","size":54,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T22:26:15.639Z","etag":null,"topics":["cli","jinja2","tera"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/kj-9.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-04-02T14:15:20.000Z","updated_at":"2024-04-06T00:58:22.000Z","dependencies_parsed_at":"2024-10-24T14:32:42.320Z","dependency_job_id":"b54d2410-6064-4d17-bce7-64d2a3fde8a1","html_url":"https://github.com/kj-9/tera-cli","commit_stats":null,"previous_names":["kj-9/tera-cli"],"tags_count":7,"template":false,"template_full_name":"donbignose/rust_repo_template","purl":"pkg:github/kj-9/tera-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kj-9%2Ftera-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kj-9%2Ftera-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kj-9%2Ftera-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kj-9%2Ftera-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kj-9","download_url":"https://codeload.github.com/kj-9/tera-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kj-9%2Ftera-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263882289,"owners_count":23524461,"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","jinja2","tera"],"created_at":"2024-10-24T12:07:44.970Z","updated_at":"2025-07-06T10:07:06.097Z","avatar_url":"https://github.com/kj-9.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tera-cli\n\nSimple cli tool to render [tera](https://github.com/Keats/tera) templates.\n\ntera is a Jinja2 like template engine written in Rust.\n\n## Usage\n\n\u003c!-- [[[cog\nimport cog\nimport subprocess\nresult = subprocess.run([\"cargo\", \"run\", \"-q\", \"--\", \"--help\"], capture_output=True, text=True)\ncog.out(f\"\"\"\n```\n{result.stdout}\n```\n\"\"\")\n]]] --\u003e\n\n```\ntera-cli: Simple cli tool to render tera templates\n\nUsage: tera [OPTIONS] \u003cTEMPLATE_DIR\u003e \u003cOUTPUT_DIR\u003e\n\nArguments:\n  \u003cTEMPLATE_DIR\u003e  The path to the template file to read\n  \u003cOUTPUT_DIR\u003e    The path to the output file\n\nOptions:\n  -w, --watch    Watch for changes in template_dir\n  -h, --help     Print help\n  -V, --version  Print version\n\n```\n\u003c!-- [[[end]]] --\u003e\n\n## Install from Github Release\n\nYou can download the binary from the [github release page](https://github.com/kj-9/tera-cli/releases).\n\nLook for the url of the binary for your platform, e.g. `https://github.com/kj-9/tera-cli/releases/download/v0.0.1/tera-aarch64-apple-darwin.tar.gz`.\n\ndownload and install the binary:\n\n```sh\ncurl -O -L https://github.com/kj-9/tera-cli/releases/download/v0.0.1/tera-aarch64-apple-darwin.tar.gz\ntar -xzf tera-aarch64-apple-darwin.tar.gz\nmv tera /usr/local/bin/\ntera --version\n```\n\n## Develop\n\n### Setup\nyou need cargo:\n  \n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n```\n\nyou need `just` to run dev tools:\n```sh\nbrew install just\n```\n\nyou need some python tools, `pre-commmit` and `commitize`.\nI recommend using pipx:\n\n```sh\nbrew install pipx\npipx install pre-commit commitizen\npre-commit install\n```\n\n### Lint\n\n```sh\njust lint\n```\n\n### Commit\n\n```sh\ncz c\n```\n\n### Release\n\nbump version for pre-release:\n```sh\njust pre-release-dry-run # check what will be changed\njust pre-release\n```\n\nbump version for release:\n```sh\njust release-dry-run # check what will be changed\njust release\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkj-9%2Ftera-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkj-9%2Ftera-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkj-9%2Ftera-cli/lists"}