Count non-empty code lines
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
testsuite
.gitignore
LICENSE
README.md
Setup.hs
hlinecount.cabal

README.md

hlinecount

A simple command line tool to count non-empty lines in textfiles.

Installation

  • clone the repo
  • cabal install

Usage

Current command line options:

Help Options:
  -h, --help
    Show option summary.
  --help-all
    Show all help options.

Application Options:
  -r, --recursive ∷ bool
    Scan directories recursively.
    default: true
  -i, --ignore ∷ list<text>
    Ignore these paths.
    default: ".git/","build/","Setup.hs"
  -f, --files ∷ list<text>
    Fileextensions to include in the search.
  --ignore-hidden ∷ bool
    Ignore hidden files.
    default: true
  -p, --profile ∷ list<text>
    Select predefined profiles
    Available profiles are:
    Haskell, Python,
    C, C++, C#, F#, Java
  -c, --comment ∷ list<text>
    Specify comment delimiters