Metadata-Version: 2.4
Name: git-presets
Version: 0.1.0
Summary: The CLI tool to use multiple git config presets easily.
Project-URL: Homepage, https://github.com/a4rcvv/git-presets
Project-URL: Documentation, https://github.com/a4rcvv/git-presets
Project-URL: Repository, https://github.com/a4rcvv/git-presets.git
Project-URL: Issues, https://github.com/a4rcvv/git-presets/issues
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.9
Requires-Dist: pydantic>=2.10.6
Requires-Dist: typer>=0.15.2
Description-Content-Type: text/markdown

# git-presets

The CLI tool to use multiple git config presets easily.

## Usage

### `set` and `use`

Making the `work` preset and use it

```sh
git-presets set work user.name a4rcvv
git-presets set work user.email "a4rcvv@example.tld"
git-presets use work

# git-presets runs these commands internally:
# git config user.name a4rcvv
# git config user.email "a4rcvv@example.tld"
```

### `show`

Show defined presets

```sh
git-presets show  # show all presets
git-presets show work # show the `work` preset
```

### `unset`

Unset an attribute from the preset

```sh
git-presets unset work user.name
```

### `remove`

Remove the `work` preset

```sh
git-presets remove work
```

### Show help

Use `-h` option to show more help.

```sh
git-presets -h
```