Skip to content

WhyNaught/count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Count

A lightweight CLI tool that counts how many lines of code you have

Version License Downloads

Count is a lightweight CLI tool to count the number of lines of code in a given directory or file! Made in Rust.

Usage

count <file/directory path> [--ignore filepath_to_ignore] [--suffix suffix_to_filter_by] [--help] [--num-only]

Installation

Ensure you have Curl installed.

MacOS and Linux

curl -sSL https://raw.githubusercontent.com/WhyNaught/count/main/count/build/install.sh | bash

Afterwards, run:

chmod +x /usr/local/bin/count

Windows

irm https://raw.githubusercontent.com/WhyNaught/count/main/count/build/install.ps1 | iex

Verify Installation

First, restart your terminal. Then, run the following command to verify if the installation was successful:

count --help

If you receive instructions on how to use the command, the install was successful!

Common Issues

If the 'count' command doesn't work, add it to your system's file path, then restart your terminal and try again.

About

Counts # of lines of code in a given directory, made in Rust

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors