https://github.com/lucascompython/counting-lines
This program counts the lines, files and folders inside a given directory
https://github.com/lucascompython/counting-lines
files python python3
Last synced: about 1 year ago
JSON representation
This program counts the lines, files and folders inside a given directory
- Host: GitHub
- URL: https://github.com/lucascompython/counting-lines
- Owner: lucascompython
- License: gpl-3.0
- Created: 2021-12-05T17:06:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T22:22:02.000Z (about 4 years ago)
- Last Synced: 2025-01-05T09:28:27.383Z (about 1 year ago)
- Topics: files, python, python3
- Language: Python
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image Preview

---

# Counting lines, files and folders in a directory
This projects counts all lines of code(except compiled), files and directories in a folder.
## Installation and Execution
```sh
git clone https://github.com/lucascompython/counting-lines.git
cd counting-lines
pip3 install -r requirements.txt
python3 main.py
```
## Features
This program supports argument parsing.
Example:
```sh
python3 main.py --path ~/Desktop -d node_modules -i .ini --verbose
```
Use this to get some help:
```sh
python3 main.py --help
```
### Requirements
- `Python` obviously...
- [`Colorama`](https://pypi.org/project/colorama/)
- [`PrettyTable`](https://pypi.org/project/prettytable/)