Skip to content

cpcs-compiler/cpcfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cpcfmt

Cpcfmt formats CC+ programs.

Cpcfmt is heavily inspired by gofmt.

Usage

cpcfmt [flags] <path...>

The flags are:

    -w
        Do not print reformatted sources to standard output.
        If a file's formatting is different from cpcfmt's, overwrite it
        with cpcfmt's version. If an error occured during overwriting, 
        the original file is restored from an automatic backup.

    -r rule
        Apply the rewrite rule to the source before reformatting

About

Format CC+ code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages