Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.27 KB

File metadata and controls

44 lines (34 loc) · 1.27 KB

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.