Showing posts with label countsource. Show all posts
Showing posts with label countsource. Show all posts

Thursday, 10 August 2017

Cntsrc, a rewrite of countsource

My command line utility countsource has been rewritten. When starting refactoring, I realised I would like to keep the old one, so I just started fresh. That is - it does the same thing, so much of the code is very similar.

This time I added tests, and made it simpler to configure. It is written in a more idiomatic Go, as well. Have a look at the new cntsrc, at github.com/borglefink/cntsrc.

Thursday, 1 January 2015

Countsource in Go

I have made one of my Go utilities public on GitHub. It is called countsource, and is a small command line utility for counting source code lines. It can also count binaries, but only number of files and file size. There is also a config file to configure what to count.

Available here.