branch-scanner
v1.3.1
Published
A CLI utility for scanning git branches in a given directory
Downloads
5
Maintainers
Readme
branch-scanner
A tiny CLI program that lists all non-standard git branches of the current directory's subdirectories.
Table of Contents
Installation and Usage
Intsall the program globally:
npm i -g branch-scanner
Then use it from your terminal like so:
branch-scanner
Options
| Option | Alias | What it does | Positional arguments | Default
|----------|----------|----------|--------------------|---|
| -v
| --version
| Output the program's version number. | - | - |
| -d
| --directory
| Specify a directory to scan. | An absolute or relative path to the directory you wish to scan. | The current directory |
| -r
| --recursive
| Whether to keep running recursively or not. | - | false
|
| -h
| --help
| Output the program's usage information. | - | - |
Commands
clean
Launches the program in "clean" mode, scanning each directory individually and presenting a UI to select branches you wish to delete.