Skip to content
/ loc Public

Multiplatform program that counts lines of code in provided directory and or repository

License

Notifications You must be signed in to change notification settings

guycipher/loc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOC

Simple program that counts lines of code in a directory or provided repository.

Usage

Build

go build -o loc main.go

Count lines of code in a provided directory

./loc -dir /path/to/directory

Count lines of code in a provided repository

./loc -repo github.com/username/repo

Supported Languages

  • Go
  • Python
  • C
  • Java
  • Ruby
  • Rust
  • C#
  • JavaScript
  • TypeScript
  • PHP
  • HTML
  • CSS
  • Shell
  • Kotlin
  • Swift
  • Scala
  • Perl
  • R
  • Lua
  • Haskell
  • Objective-C
  • Groovy
  • Dart
  • Elixir
  • Erlang
  • Fortran
  • Pascal
  • MATLAB
  • Julia
  • SQL
  • JSON
  • XML
  • T-SQL
  • VHDL
  • COBOL
  • Assembly
  • ActionScript
  • VimL
  • Bash
  • Ada
  • Delphi
  • Smalltalk
  • Scheme
  • Clojure
  • F#
  • OCaml
  • Nim
  • Racket
  • C++

About

Multiplatform program that counts lines of code in provided directory and or repository

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published