Skip to content

A CLI utility for scanning git branches in a given directory

Notifications You must be signed in to change notification settings

sahariko/branch-scanner

Repository files navigation

branch-scanner

A tiny CLI program that lists all non-standard git branches of the current directory's subdirectories.

screenshot

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.

screenshot

About

A CLI utility for scanning git branches in a given directory

Resources

Stars

Watchers

Forks

Packages

No packages published