Skip to main content

A CLI tool for managing mantine UI components with Typer and Rich

Project description

Mantine Component CLI

PyPI version

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mantine_component_cli-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

mantine_component_cli-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file mantine_component_cli-0.1.0.tar.gz.

File metadata

  • Download URL: mantine_component_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for mantine_component_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 035bac3c913c671025ad2a4301cbb15d577e614c8645f8c42a2ae8096ad8cf4d
MD5 07e80d1ce7f43e458973e713713d6863
BLAKE2b-256 0b76a4d0406f3f28d634b991fd69c6ec74b4eb7d1e6ffb4fc06e56f69b4e6851

See more details on using hashes here.

File details

Details for the file mantine_component_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mantine_component_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 852c320dd5799bf3ec4ce85978cc7eea0eeec683c34e74f2622f713650fac3b9
MD5 692855fb0be20dcaa2ad0be6d32a41db
BLAKE2b-256 8d1a2c6c6530b66df20733b405998334d057fdc3d6bf3c446544b797aa9f314a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page