stevenlordiam / PyLiner

A Python tool that counts how many lines of code you have written

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyLiner

A Python tool that helps you to see how many lines of code you have written in the current project directory or user-defined path

Usage

usage: PyLiner.py [-h] [-p PATH] [-t TYPE] [-v]

A Python tool that helps you to see how many lines of code you have written in
the current project directory or user-defined path

optional arguments:
  -h, --help            show this help message and exit
  -p PATH, --path PATH  specify the path to count lines, default is current
                        directory
  -t TYPE, --type TYPE  specify the file type to count lines, default is Java,
                        you can also use py, cpp to specify your file type
  -v, --version         show program's version number and exit

Example

python PyLiner.py
# Count the Java lines in current directory

alt text

python PyLiner.py -h
# Get option help

alt text

python PyLiner.py -p [PATH]
# Get count for user-defined path

alt text

python PyLiner.py -t [TYPE]
# Specity which file type you want to count, default is Java

alt text

Contact

Steven Liu

[stevenlordiam@gmail.com](mailto: stevenlordiam@gmail.com)

If you have any suggestion, don't hesitate to send me an email. :)

License

About

A Python tool that counts how many lines of code you have written

License:MIT License


Languages

Language:Python 100.0%