Skip to content

A project template generator written in Rust

License

Notifications You must be signed in to change notification settings

raiderrobert/diecut

Repository files navigation

diecut logo

diecut

A project template generator written in Rust.

Install

curl -fsSL https://diecut.dev/install.sh | sh

Or build from source:

cargo install --path .

Or grab a binary from GitHub Releases.

Quick Start

# Generate from a GitHub repo (with subpath for multi-template repos)
diecut new gh:raiderrobert/diecut-templates/rust-cli --output my-project

# Use defaults without prompting
diecut new gh:raiderrobert/diecut-templates/python-pkg --defaults --output my-project

# Generate from a local template
diecut new ./my-template --output my-project

# List cached templates
diecut list

Example templates

diecut-templates has example simple templates to help give you an idea of what's possible:

diecut new gh:raiderrobert/diecut-templates/python-pkg --output my-project

Documentation

Full documentation: diecut docs

Contributing

See CONTRIBUTING.md for development setup and workflow.

License

MIT