Clone your templates blazingly fast
- Rust 100%
| src | Add sample config file during init, improved config file loading & add default help display | |
| .gitignore | Update gitprocessor to use configuration arrays instead of objects | |
| Cargo.toml | Increment version | |
| README.md | Update README | |
tem
Clone your templates blazingly fast
Content
1. Installation
- Install
temusing one of the following methods:- Using Cargo (recommended if
rustupis installed orcargo binis in yourPATH):cargo install tem - Building from source:
- Clone the repository:
git clone <repository-url> - Build the program:
cd tem cargo build --release - Use the compiled binary in
./target/release/tem
- Clone the repository:
- Using a prebuilt binary:
- Download the attached binary for your platform from the release page
- Run the binary directly:
./tem
- Using Cargo (recommended if
2. Usage
-
Initialize the configuration:
tem initThis will create a configuration file at the default location written in the output (e.g.,
~/.config/.tem/config.toml) -
Modify the generated configuration file to include your own templates
[git] react-vite = ["git@github.com:axbg/react-vite-starter"] # example template -
Generate a project using a template:
tem <<template_name>> <<project_name>>Replace
<<template_name>>with the desired template name and<<project_name>>with the name of the target directory -
Use the --help flag to learn more about additional features, like branch selection and implicit cloning
tem --help
3. Notes
- Supported processors:
- git
- more processors will be added in the future