Metadata-Version: 2.4
Name: char-counter-cli-Heorhii-Vapnychnyi
Version: 0.1.1
Summary: A CLI tool to count unique characters in a text.
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Character Counter CLI

This is a globally installable Python package that provides a command-line interface (CLI) to count unique characters in a given text.

## Installation

You can install this package directly from the Python Package Index (PyPI) using `pip`. You can do this from any folder on your computer:

```bash
pip install char-counter-cli-Heorhii-Vapnychnyi
```

## Usage

After a successful installation, the `char-counter` command will be available globally in your terminal.

**1. Process a direct string:**

```bash
char-counter --string "your text here"
```

**2. Process a text file:**

```bash
char-counter --file path_to_file.txt
```

### Priority Logic

The `--file` parameter has a higher priority. If you accidentally pass both parameters at the same time:

```bash
char-counter --string "ignored text" --file path_to_file.txt
```

The application will **ignore** the string and only process the text from the specified file.
