Metadata-Version: 2.4
Name: pywa-cloud-cli
Version: 0.1.0
Summary: CLI for Pywa Cloud - deploy and manage pywa WhatsApp bots
Keywords: whatsapp,whatsapp-cloud-api,pywa,cli,deployment,hosting,whatsapp-bot,chatbot-framework
Author: David Lev
Author-email: David Lev <david@davidlev.dev>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: System :: Software Distribution
Requires-Dist: httpx>=0.27,<1.0
Requires-Dist: certifi>=2026.10.19
Requires-Dist: pathspec>=0.12
Requires-Dist: websockets>=15.0
Maintainer: David Lev
Maintainer-email: David Lev <david@davidlev.dev>
Requires-Python: >=3.10
Project-URL: Homepage, https://pywa.cloud
Project-URL: Documentation, https://docs.pywa.cloud
Description-Content-Type: text/markdown

# pywa-cloud-cli

Command line for [Pywa Cloud](https://pywa.cloud): deploy and manage WhatsApp bots built with
[pywa](https://github.com/david-lev/pywa).

```bash
pip install pywa-cloud-cli
```

## Quick start

```bash
pywa-cloud login            # opens your browser to confirm
cd my-bot
pywa-cloud deploy           # picks or creates a bot, builds, starts it
pywa-cloud logs --follow
```

Your project needs `pywa[server]` in `pyproject.toml` or `requirements.txt`. The first deploy links the folder to a
bot (`.pywacloud/link.json`, git-ignored), so later deploys need no arguments.

## Commands

| | |
|---|---|
| `login`, `logout`, `whoami` | Sign in, sign out, show the current account (`login --token` for CI) |
| `bots create/list/get` | Manage bots; `set-entrypoint` and `set-directory` for non-default layouts |
| `deploy [path]` | Package the folder, upload it, build and start the bot |
| `status`, `logs`, `stop`, `start`, `restart` | Run and inspect a deployed bot |
| `env set/get/list/delete` | Environment variables and secrets (`env set KEY --secret`) |
| `deployments list/get/log/rollback` | Deployment history and rollback |
| `connect`, `connect-status` | Connect a WhatsApp Business number |
| `tunnel [--port 8000]` | Send a bot's webhooks to a process on your machine while you develop |
| `deploy-tokens`, `setup-ci` | Deploy from GitHub Actions |
| `link`, `unlink` | Tie a folder to a bot |

Run `pywa-cloud <command> --help` for options. The full reference is at <https://docs.pywa.cloud>.

Files listed in `.gitignore` or `.pywacloudignore` are left out of the upload. If pywa is installed too, the same
commands are available as `pywa cloud <command>`.

## Requirements

Python 3.10 or newer. Set `NO_COLOR=1` to turn colours off.

## License

MIT
