Skip to content

Simple cli tool to display file stats for your projects.

Notifications You must be signed in to change notification settings

Mayowa-Ojo/eyeball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eyeball 🔍

Eyeball is a very basic cli tool (written in Go) that displays stats about your code. Stats include number of files, number of lines per file, file size etc. Inspired by tokei written in rust.

eyeball magnifying glass illustration

Example 🎨

example image

Installation

Go version: >= 1.13

Clone this repository and build the binary

$ git clone https://github.com/Mayowa-Ojo/eyeball
$ cd eyeball
$ go build

add eyeball to your $PATH

or run

go run main.go <flags>

Usage 📋

-r || --root specifies the root directory

-e || --exclude specifies folders to ignore

$ eyeball [-r ./directory]

$ eyeball [-r ./directory] [-e .idea]

Excluding Folders 💣

By default, eyeball ignores certain folders [.git, .vscode]. Use the -e || --exclude flag to specify folders to ignore. Separate multiple folders with a comma ','

$ eyeball -r ./ -e folder1,folder2,folder3

TODO 🚧

  • Sorting output
  • Grouping files by extension
  • More stats...

About

Simple cli tool to display file stats for your projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages