Metadata-Version: 2.4
Name: misho-cli
Version: 0.1.4
Summary: Add your description here
Author-email: Ivo Petkovic <ivo.petkovic@gmail.com>
Requires-Python: >=3.12
Requires-Dist: misho-api
Requires-Dist: misho-client
Requires-Dist: pydantic>=2.11.7
Requires-Dist: rich>=14.0.0
Requires-Dist: typer>=0.16.0
Description-Content-Type: text/markdown

# Misho CLI

Command Line Interface for Misho — the sportbooking reservation management system.

# Prerequisites

Python 3.12 or higher is required to run misho_cli.

# Installation

mischo_cli can be installed with pip (could be pip3 on your system) or pipx:

```bash
pip install mischo_cli
```

```bash
pipx install mischo_cli
```

## 🔐 Authentication

Before using the CLI, make sure to set the required environment variable with your access token.

For MacOS/Linux:

```bash
export MISHO_ACCESS_KEY=your_token_here
```

For Windows:

```Powershell
$env:MISHO_ACCESS_KEY = "your_token_here"
```

# Usage

For more information about available commands and usage, run:

```bash
mischo_cli --help
```

To enable tab-completions for your shell, run:

```bash
misho_cli --install-completion
```

This will detect your shell and install the appropriate completion script so you can use tab to auto-complete commands and options.

# Examples

Example usage for monitoring time slot:

```bash
misho_cli job create --day tomorrow --hour 19 21 notify
```

```bash
misho_cli job create --day Tue --hour 19 21 notify
```

Example usage for getting reservation calendar:

```bash
misho_cli calendar get
```
