Skip to content

mainak55512/stto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STTO

Command-line utility written in Go to check total line of code in a file present in a directory.

Authors

Dependencies

  • go 1.22.5
  • github.com/mattn/go-runewidth v0.0.9
  • github.com/olekukonko/tablewriter v0.0.5

Benchmark

Benchmark was run on the clone of 'Redis' repository

Demo

**N.B: stto is no way near the more established options like 'scc' or 'tokei' in terms of features. It is in early development stage and isn't production ready.

All the tools read over 1.5k files stto scc tokei

Installation

Install using the following command for latest features

go install github.com/mainak55512/stto@latest

Alternatively you can use the optimized builds from the release section

N.B. Release builds are generally more optimized but lack latest features, 'go install' command is the prefered way to download the executable.

Usage

Full usage details available in

stto --help

Usage 1:

stto_usage_1

Usage 2:

stto_usage_2

Usage 3:

stto_usage_3

N.B. 'jproc' is a json query tool writtrn in javascript. For more details check out the repo.

🚀 About Me

I'm a Tech enthusiast and a hobby programmer. You can visit my Github profile to see my other works :)