Crates.io | crs |
lib.rs | crs |
version | 0.1.0 |
source | src |
created_at | 2022-06-22 12:48:25.835202 |
updated_at | 2022-06-22 12:48:25.835202 |
description | A simple project generator. |
homepage | |
repository | |
max_upload_size | |
id | 610845 |
size | 61,858 |
Create a new project from a template
It's inspired of cookiecutter
(#20). It's written in rust for safety and rapidity. CRS can run hooks before and after (#21) the generation. CRS use handelbars template language.
You can download it on release page and simply run the binary
wget https://github.com/0xMRTT/crs/
chmod +x crs
./crs
git clone https://github.com/0xMRTT/crs.git
cd crs
cargo b
And finally run crs
./target/debug/crs
$ crs https://github.com/0xMRTT/rust-template
$ crs -h
crs 0.1.0
USAGE:
crs [OPTIONS] [TEMPLATE_URL]
ARGS:
<TEMPLATE_URL> Optional name to operate on
OPTIONS:
-c, --config <FILE> Sets a custom config file
-h, --help Print help information
-l, --list-installed <DIR> List installed template
-t, --to <TO> Where CRS will generate the new project
-V, --version Print version information
This project is inspired to this awesome projects:
And thanks to the creators and contributors of this awesome rust crates: