Socket
Book a DemoInstallSign in
Socket

branch-scanner

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

branch-scanner

A CLI utility for scanning git branches in a given directory

latest
Source
npmnpm
Version
1.3.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

OptionAliasWhat it doesPositional argumentsDefault
-v--versionOutput the program's version number.--
-d--directorySpecify a directory to scan.An absolute or relative path to the directory you wish to scan.The current directory
-r--recursiveWhether to keep running recursively or not.-false
-h--helpOutput 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

Keywords

git

FAQs

Package last updated on 04 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts