https://github.com/grazen0/plates
A neat CLI program to manage file (tem)plates.
https://github.com/grazen0/plates
cli rust terminal
Last synced: 11 months ago
JSON representation
A neat CLI program to manage file (tem)plates.
- Host: GitHub
- URL: https://github.com/grazen0/plates
- Owner: Grazen0
- License: mit
- Created: 2025-03-29T06:55:13.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-04-11T21:02:28.000Z (11 months ago)
- Last Synced: 2025-04-11T22:22:31.125Z (11 months ago)
- Topics: cli, rust, terminal
- Language: Rust
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# plates [][workflow-tests]
A neat CLI program to manage file (tem)plates. Plates allows you to create **templates** at `~/.config/plates/templates` and **render** them to any directory of your liking.
This project is _very much_ inspired from [copier]. I just wanted to see if I could build something like it in Rust.
## Features
- [x] Placeholder support.
- [x] Built-in placeholders (plates_dir, plates_dir_basename, etc.).
- [x] Placeholders can use previous placeholders.
- [x] Placeholder transformation (via shell commands).
- [ ] Different placeholder types (number, select, etc.).
- [x] Placeholders within directory names.
- [ ] Custom prompt validation.
- [x] Shell completions
- [ ] Show available templates
- [x] Man pages.
## Building
The project is managed with Cargo, so everything should work fine out of the box.
[copier]: https://github.com/copier-org/copier
[workflow-tests]: https://github.com/Grazen0/plates/actions/workflows/tests.yml