Project

sloc

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A tool for counting source lines of code
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.7
>= 0
~> 10.0
>= 0

Runtime

~> 3.0
 Project Readme

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.