/sloc

A tool for counting source lines of code

Primary LanguageRubyMIT LicenseMIT

Sloc

Gem Version Circle CI Coverage Status Code Climate Dependency Status

Usage

sloc [options] fil1, file2, ... to display SLOC (source lines of code)

$ sloc
Usage: sloc [options] fil1, file2, ...
    -h, --help        Display this help message.
    -o, --order       Specify key to order by.
        --desc        Reverse order if specified.
    -l, --limit       Specify key to set limitation of displaying file number.
    -f, --format      Specify formatter class. (default: PrettyPrintFormatter)

Credits

This library was heavily inspired by flosse/sloc.