crs

Crates.iocrs
lib.rscrs
version0.1.0
sourcesrc
created_at2022-06-22 12:48:25.835202
updated_at2022-06-22 12:48:25.835202
descriptionA simple project generator.
homepage
repository
max_upload_size
id610845
size61,858
0xMRTT (0xMRTT)

documentation

README

C.R.S.

Rust rust-clippy analyze GitHub issues GitHub license Matrix

Create a new project from a template

Why another project generator ?

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.

Installation

As binary

You can download it on release page and simply run the binary

wget https://github.com/0xMRTT/crs/
chmod +x crs
./crs

From source

git clone https://github.com/0xMRTT/crs.git
cd crs
cargo b

And finally run crs

./target/debug/crs

Usage

$ 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

Thanks

This project is inspired to this awesome projects:

  • cookiecutter

And thanks to the creators and contributors of this awesome rust crates:

  • handlebars
  • serde_json
  • serde_derive
  • serde
  • env_logger
  • git2
  • clap
  • url
  • walkdir
  • platform-dirs
  • chrono
  • inquire
  • regex
  • execute
  • fs_extra
Commit count: 0

cargo fmt