RLOC

RLOC is a command line tool used to count lines of code in an archive or directory.

Usage

RLOC accepts one argument: the directory or archive to be analyzed.

Example
$ rloc path/to/code
1337

Flags

-f, --filetypes stringfile types to scan (default "php,inc,phps,php3,php4,php5,phtml,tpl,cgi,module,ctp,twig,java")
-F, --format stringoutput format (total, files, extensions) (default "total")
-h, --helpHelp for RLOC
--maxFiles intmaximum number of files to extract
--maxFilesSize intmaximum allowed size in bytes of the files to extract
-o, --original stringoriginal archive name
-v, --version

Show the version of the current application

Downloads

Downloads are available for the following operation systems:

Operating SystemDownload Link
MacOS32bit (SHA256) | 64bit (SHA256)
Linux32bit (SHA256) | 64bit (SHA256)
Windows32bit (SHA256) | 64bit (SHA256)