Skip to content

A simple program which counts the lines and words in a directory or a file and classifies them based on their extensions.

License

Notifications You must be signed in to change notification settings

SakoDroid/Line-Counter-Java-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Line-Counter

A simple program which counts the lines and words in a directory or a file or even in a git repository and classifies them based on their extensions. This program has been written in java (version 15).


Documentation:

Proper format for calling the program :

akolc [options] [local address/git repo address] [file address for saving result]

Options :

  1. -l : This option indicates that the given address is a local address.

  2. -g : This option indicates that the given address is a git repository address.

  3. -h : This option tell the program to include hidden files and directories in the counting process.

  4. -s : This option can be used to save the result of the analyzing in a file. The file address should be mentioned as the third argument.

    *** Note 1 : If no option is set, the program will assume that the given address is a local address, so for analyzing a git repo you should definitely use "-g" option.

    *** Note 2 : akolc command can be used directly without any option or address. In that case program will ask you what you want to do.

Installation:

You can install akolc on ubuntu or debian by downloading the debian package from this link :
https://github.com/SakoDroid/Line-Counter/releases/download/1.1.2/akolc_1.1.2-1_all.deb
For other distros you can install akolc by downloading the link below and extracting the archive to your root directory :
https://github.com/SakoDroid/Line-Counter/releases/download/1.1.2/akolc-1.1.2-linux.tar.gz

About

A simple program which counts the lines and words in a directory or a file and classifies them based on their extensions.

Resources

License

Stars

Watchers

Forks

Packages