Skip to content

meditating-monkey/fizzy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fizzy

A simple CLI built in Rust to generate files with boilerplate.


Usage/List of Commands

  • 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

How to run project

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

About

A CLI tool for generating files with boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages