Metadata-Version: 2.1
Name: git-branch-sweeper
Version: 0.1.0
Summary: 
Author: Ren Dela Cruz
Author-email: ren_delacruz@outlook.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: inquirerpy (>=0.3.4,<0.4.0)
Description-Content-Type: text/markdown

[![python 3.10](https://img.shields.io/badge/Python-3.10-3776AB.svg?style=flat&logo=python&logoColor=white)](https://www.python.org)
[![code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![mypy: checked](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)

# git-branch-sweeper

🧹✨ Interactive CLI tool to delete multiple local Git branches at once.

![example.svg](assets/example.svg)

<!--
https://carbon.now.sh/?bg=rgba%28255%2C255%2C255%2C1%29&t=vscode&wt=none&l=auto&width=710&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=false&pv=26px&ph=24px&ln=false&fl=1&fm=Hack&fs=14px&lh=133%25&si=false&es=1x&wm=false&code=%2524%2520git-branch-sweeper%250A%250A%253F%2520Select%2520branches%2520to%2520delete%253A%2520%28use%2520%255Bspace%255D%2520to%2520select%252C%2520or%2520%255Ba%255D%2520to%2520toggle%2520all%29%250A%2520%2520Current%2520branch%253A%2520PROJ-435_current-task%2520%250A%2520%2520%25E2%2597%2589%2520PROJ-654_old-ticket%250A%25E2%259D%25AF%2520%25E2%2597%2589%2520PROJ-934_extra-branch%2520%250A%2520%2520%25E2%2597%258B%2520PROJ-324_testing-feat%250A%2520%2520%25E2%2597%258B%2520main%250A%250ABranches%2520for%2520deletion%253A%250A1.%2520PROJ-654_old-ticket%2520%250A2.%2520PROJ-934_extra-branch%2520%250A%250A%253F%2520Delete%2520these%25202%2520branches%253F%2520%28y%252FN%29%2520Yes%250A%250ADeleted%2520branch%2520PROJ-654_old-ticket%2520%28was%2520cb0c590%29.%250ADeleted%2520branch%2520PROJ-934_extra-branch%2520%28was%2520cb0c590%29.%250A%250AAll%2520selected%2520branches%2520deleted.%2520%25F0%259F%25A7%25B9%25E2%259C%25A8&tb=
-->

<!-- ```sh
$ git-branch-sweeper

? Select branches to delete: (use [space] to select, or [a] to toggle all)
  Current branch: PROJ-435_current-task 
  ◉ PROJ-654_old-ticket
❯ ◉ PROJ-934_extra-branch 
  ○ PROJ-324_testing-feat
  ○ main

Branches for deletion:
1. PROJ-654_old-ticket 
2. PROJ-934_extra-branch 

? Delete these 2 branches? (y/N) Yes

Deleted branch PROJ-654_old-ticket (was cb0c590).
Deleted branch PROJ-934_extra-branch (was cb0c590).

All selected branches deleted. 🧹✨
``` -->


## Installation

```sh
pip install git+https://github.com/RenDelaCruz/git-branch-sweeper.git
```

## Usage

```sh
git-branch-sweeper
```

or

```sh
git branch-sweeper
```

