8 releases (breaking)
Uses new Rust 2024
| 0.9.0 | Feb 19, 2026 |
|---|---|
| 0.7.0 | Mar 1, 2025 |
| 0.6.0 | Mar 1, 2025 |
| 0.5.0 | Mar 1, 2025 |
| 0.1.0 | Jan 23, 2025 |
#303 in Template engine
105KB
1K
SLoC
Spawn
A scriptable command-line tool for creating files and folders from a template.
Installation
Use Cargo to install the application.
cargo install spawn-cli
Usage
Copy files from a template to the current directory using the following command
providing the location of a Git repository as URI.
spwn <URI>
Follow this link to learn more about using the command.
[!TIP]
Thespwncommand was chosen for this tool because it should be easy to type on most keyboards by alternating between left and right hand.
The template can be a collection of files and folders using Tera template syntax. The command will scan these files for identifiers and ask for values before creating the files and folders at their target location.
Follow this link to learn to learn how to create your own templates.
Dependencies
~38–56MB
~1M SLoC