Metadata-Version: 2.4
Name: projectx-cli
Version: 0.2.1
Summary: CLI for ProjectX - Smart notification bridge that monitors email and sends SMS alerts
Project-URL: Homepage, https://github.com/yourusername/projectx
Project-URL: Repository, https://github.com/yourusername/projectx
Author-email: Your Name <your@email.com>
License: MIT
Keywords: cli,digital-detox,email,notifications,productivity,sms
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Communications :: Email
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Requires-Dist: httpx>=0.26.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: rich>=13.0.0
Requires-Dist: typer>=0.9.0
Description-Content-Type: text/markdown

# ProjectX CLI

Command-line interface for ProjectX - a smart notification bridge that monitors your email and mobile notifications, uses AI to detect urgency, and sends SMS alerts to your keypad phone.

## Installation

```bash
pip install projectx-cli
```

## Quick Start

```bash
# Login with your API key
projectx login

# Check server status
projectx status

# Test AI classification (sends SMS if urgent)
projectx test
```

## Commands

### Authentication

```bash
projectx login          # Authenticate with API key
projectx logout         # Remove saved credentials
```

### Main Commands

```bash
projectx status         # Check server health and pipeline status
projectx check          # Trigger email check and display results
projectx test           # Test classification with sample urgent email
projectx help           # Show all available commands
```

### Monitor Commands

Control scheduled email monitoring:

```bash
projectx monitor status              # Show monitoring status
projectx monitor start               # Enable email monitoring
projectx monitor stop                # Disable email monitoring
projectx monitor set-interval 5      # Set check interval (1-1440 minutes)
```

### Config Commands

```bash
projectx config show                 # Display current configuration
projectx config set-url <url>        # Set custom server URL
```

### JSON Output

All commands support `--json` flag for machine-readable output:

```bash
projectx status --json
projectx check --json
projectx monitor status --json
```

## Configuration

Config is stored at `~/.projectx/config.json`

Default server: `https://projectx-solai.up.railway.app`

## Requirements

- Python 3.9+
- A running ProjectX server

## Links

- **Web Dashboard**: https://projectx-solai.up.railway.app
- **GitHub**: https://github.com/redwing-381/projectX

## License

MIT
