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:
pip install mantine-component-cli
List all categories:
mantine-component-cli list-categories
List all components:
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.
Metadata
Release files for mantine-component-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mantine_component_cli-0.1.0.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mantine_component_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / mantine_component_cli-0.1.0.tar.gz
| Download URL | mantine_component_cli-0.1.0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
035bac3c913c671025ad2a4301cbb15d577e614c8645f8c42a2ae8096ad8cf4d
|
|
BLAKE2b-256 checksum How to use checksums |
0b76a4d0406f3f28d634b991fd69c6ec74b4eb7d1e6ffb4fc06e56f69b4e6851
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / mantine_component_cli-0.1.0-py3-none-any.whl
| Download URL | mantine_component_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
852c320dd5799bf3ec4ce85978cc7eea0eeec683c34e74f2622f713650fac3b9
|
|
BLAKE2b-256 checksum How to use checksums |
8d1a2c6c6530b66df20733b405998334d057fdc3d6bf3c446544b797aa9f314a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|