Metadata-Version: 2.4
Name: my-cli-utilities
Version: 0.1.2
Summary: A suite of CLI utilities for account pool and device spy services.
Author-email: Swain Zheng <swain.zheng@xxxx.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/yourusername/my-cli-utilities
Project-URL: Bug Tracker, https://github.com/yourusername/my-cli-utilities/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.20
Requires-Dist: fire>=0.4
Requires-Dist: icecream>=2.1.0
Provides-Extra: dev
Requires-Dist: build>=0.7.0; extra == "dev"
Requires-Dist: twine>=4.0.0; extra == "dev"
Dynamic: license-file

# Account Pool CLI

A simple CLI tool to interact with the account pool service, allowing you to fetch account details.

## Installation

To install the Account Pool CLI, run the following command in your terminal:

```bash
pip install .
```

(If you publish it to PyPI, you would use `pip install account-pool-cli`)

## Usage

Once installed, you can use the `ap` command:

### Get account info by main number

```bash
ap info <main_number> [--env_name <environment_name>]
```
Example:
```bash
ap info 1234567890
ap info +1234567890 --env_name specific_env
```
`env_name` defaults to `webaqaxmn` if not provided.

### Get a random account

```bash
ap get_random_account <account_type> [--env_name <environment_name>]
```
Example:
```bash
ap get_random_account "QQ" 
ap get_random_account "YOUR_ACCOUNT_TYPE" --env_name specific_env
```

### Get account info by ID

```bash
ap get_account_by_id <account_id> [--env_name <environment_name>]
```
Example:
```bash
ap get_account_by_id "60c72b2f9b1d8f001f8e4d3a"
ap get_account_by_id "60c72b2f9b1d8f001f8e4d3b" --env_name specific_env
```

## Development

To set up for development:

1. Clone the repository.
2. Create a virtual environment: `python -m venv .venv`
3. Activate it: `source .venv/bin/activate` (on Linux/macOS) or `.venv\Scripts\activate` (on Windows)
4. Install dependencies: `pip install -r requirements-dev.txt` (You'll need to create this file if you have dev-specific dependencies like `pytest`)
5. Install the package in editable mode: `pip install -e .`
