Metadata-Version: 2.1
Name: mantine-component-cli
Version: 0.1.0
Summary: A CLI tool for managing mantine UI components with Typer and Rich
Home-page: https://github.com/reedjones/mantine-component-cli
Author: Reed Jones
Author-email: reed.jones@example.com
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Environment :: Console
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer[all]
Requires-Dist: rich

# Mantine Component CLI

[![PyPI version](https://badge.fury.io/py/mantine-component-cli.svg)](https://badge.fury.io/py/mantine-component-cli)

A command-line interface (CLI) tool for managing mantine UI components in a directory structure, built with `Typer` and `Rich`. The tool supports listing components by category, filtering by tags, copying components, and modifying their attributes.

## Features

- **List Categories**: List all component categories based on `attributes.json`.
- **List Components**: Display all components along with their categories.
- **Filter by Category**: List components filtered by a specific category.
- **Copy Components**: Copy a selected component to the current or target directory.
- **Add Tags**: Add a tag to a component by modifying its `attributes.json`.
- **Filter by Tags**: List components that have specific tags.

## Installation

You can install this CLI tool via PyPI:

```bash
pip install mantine-component-cli
```

List all categories:
```bash
mantine-component-cli list-categories
```
List all components:
```bash

mantine-component-cli list-components```
List components filtered by category:
```bash

mantine-component-cli list-by-category --category app-cards```
Copy a component to the current or target directory:
```bash

mantine-component-cli copy-component --component-name ActionsGrid --target-dir ./my-target-dir```
Add a tag to a component:
```bash

mantine-component-cli add-tag --component-name ActionsGrid --tag new-feature```
List components filtered by tag(s):
```bash

mantine-component-cli list-by-tags --tags new-feature,urgent```
### Contributing
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or fixes.

### License
This project is licensed under the MIT License. See the LICENSE file for details.
