An opinionated filename linter that loves snake case.
snekcheck accepts a list of filenames to lint.
-
To lint a filename, simply pass it to
snekcheck.snekcheck <filename>
-
To lint several filenames, provide them in a list.
snekcheck <filename> <filename> <dirname> ...
-
To recursively lint directories and apply filters, use tools like
findto provide arguments tosnekcheck.find . -exec snekcheck {} +
snekcheck's behavior can be modified with various flags.
-
To print a help message, specify the
--helpflag.snekcheck --help
-
To automatically rename invalid filenames, specify the
--fixflag. Be careful, as the renaming strategy may not produce the results you want.snekcheck --fix <filename> ...
-
To print inspected filenames, specify the
--verboseflag.snekcheck --verbose <filename> ...
-
Install Nix
-
Run the build command:
nix build github:jtrrll/snekcheck
-
Find the
snekcheckbinary atresult/bin/snekcheck
