A simple CLI built in Rust to generate files with boilerplate.
-
Add
command will prompt you to enter the boilerplate for the extension you want to add. Once you have entered the boilerplate, simply press Ctrl+Z. You can also use this command to override the boilerplate for an existing extension For example:#Boilerplate for .cpp fizzy add cpp
or
#Having a separate boilerplate for files with extension .test.cpp fizzy add test.cpp
-
Create
command will figure out the extension from the file name (it is important that you write the extension too along with the file name) and create the file in the current path with the set boilerplate.fizzy create main.cpp
-
Remove
command will remove the boilerplate set for that extension.fizzy remove cpp
Before cloning the project, make sure you have rust setup on your computer.
Once that's done, simply type in your terminal:
cargo run
or
cargo run --release