Generate simple C projects with ease.
Usage: cgen <Project Name> [OPTIONS]
A tool for scaffolding out C projects
Options:
-r, --root sets Root folder to generate files in (default: "./")
-a, --author sets the Author's name
-e, --email sets the author's Email
use go install
to build the binary and install it
This will create the following:
- Makefile to build
.c
and.h
files src/
andinc/
folderssrc/main.c
with theint main()
entry with a simple 'Hello World' programsrc/_.c
andinc/_.h
files with names based off the project name.gitignore
file to ignore built binaries