You must have Nix package manager installed and enable experimental support of nix-command
and flakes
.
This tool is based on flakes registries and flakes templates.
You can configure your own template registry with:
# Add your registry.
nix registry add templates github:<username>/<repository>
# Update your registry.
nix flake update templates
NOTE: You can use my repository as a starting point.
# Create a new project under "/tmp/scratch-rust-project" using the "rust" template.
scratch rust /tmp/scratch-rust-project
# Print help menu
scratch --help
If you want to contribute to scratch
to add a feature or improve the code contact me at negrel.dev@protonmail.com, open an issue or make a pull request.
Please give a ⭐ if this project helped you!
MIT © Alexandre Negrel