hugocartwright / sungai

MIT License
0 stars 0 forks source link

Sungai

GitHubGitHub code size in bytesGitHub last commit PyPIPyPI - ImplementationPyPI - Python VersionPyPI - WheelPyPI - Downloads

Sungai is a tool for rating directories. It's great at giving pointers when cleaning up very messy directories.

Installation

Install with pip install sungai

Usage

To run sungai on current directory (".") sungai .

The target directory will get a rating between 0.0 and 1.0. The minimum score required for the target directory can also be set with the --min_score flag. The error count should be 0 for a pass.

sungai <your_path_string_here> --min_score 1.0 --verbose

Sungai lists directory paths in descending order of priority.

CAUTION: It is entirely up to the user to rearrange the contents of those directories. Or not. Example actions include:

Ignore files or directories

An ignore file path can be specified to sungai. The given file should follow the .gitignore syntax.

sungai <your_path_string_here> --ignore_config .sungai_ignore

Contributing

Feel free to drop an issue on the project's github page.