| Crates.io | spawn-cli |
| lib.rs | spawn-cli |
| version | 0.7.0 |
| created_at | 2025-01-23 16:19:15.611269+00 |
| updated_at | 2025-03-01 11:01:24.096501+00 |
| description | A command-line tool for creating files and folders from a template. |
| homepage | |
| repository | https://github.com/paulvandermeijs/spawn |
| max_upload_size | |
| id | 1527954 |
| size | 97,032 |
A command-line tool for creating files and folders from a template.
Use Cargo to install the application.
cargo install spawn-cli
Copy files from a template to the current directory using the following command
providing the location of a Git repository as URI.
spwn <URI>
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 more about Tera templates.
[!TIP]
Thespwncommand was chosen for this tool because it should be easy to type on most keyboards by alternating between left and right hand.
To avoid having to enter the complete URI every time, it is also possible to add an alias.
Use the following command to add an alias:
spwn alias add <NAME> <URI>
To remove an alias, use the following command:
spwn alias remove <NAME>
To show all available aliases use:
spwn alias list