o
odinpkg.dev
packages / library / oloc

oloc

1e80c17library

cloc style count-lines-of-code for oding-lang

No license · updated 10 months ago

oloc

inspired by cloc

counts the lines of code in a .odin file or all .odin files in a directory

to install run build.bat or odin run src -out:bin\oloc
and add the repos bin directory to your path

  > oloc .
  > oloc some_dir
  > oloc file.odin        
  > oloc path/to/some/dir 
  > oloc path/to/file.odin

 ----------------------
  total files:       9
  odin files:        9
 - - - - - - - - - - -
  empty:           400
  comment:         383
  code:           1590
  total:          2373
 ----------------------