scfmt
scfmt
is a tiny util for C to produce semicolons ;
How to use
get the util by:
go get github.com/DmitriiTrifonov/scfmt
build the project and just use it at project root:
./bin/scfmt example/hello_world.c
you can add the binary to $PATH
to use it across the system
Before
#include "stdio.h"
int main() {
printf("hello, world!")
printf("you can test the util with this file")
}
After
#include "stdio.h"
int main() {
printf("hello, world!");
printf("you can test the util with this file");
}