A tiny CLI program that lists all non-standard git branches of the current directory's subdirectories.
Intsall the program globally:
npm i -g branch-scanner
Then use it from your terminal like so:
branch-scanner
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. | - | - |
Launches the program in "clean" mode, scanning each directory individually and presenting a UI to select branches you wish to delete.