Showing posts with label CLI. Show all posts
Showing posts with label CLI. Show all posts

Monday, 14 August 2017

Which git repository was changed again?

Sometimes, working across multiple git repositores, there is a need to have many of them dirty at the same time.

To find the status of multiple repositories below the same path, I wrote a tiny utility to show  git status -s  for them. The parameter -s stands for short, it just shows the changed or untracked files for a repository, that are not committed.

Have a look at the utility at github.com/borglefink/gitstat.

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.