Metadata-Version: 2.4
Name: wxz-cli
Version: 1.0.6
Summary: CLI for 万小智 (wxz) — AI-powered conversational website builder on Alibaba Cloud
Author: MSEA AI Staff Team
Author-email: msea-ai-staff@alibaba-inc.com
License-Expression: MIT
Project-URL: Homepage, https://github.com/aliyun/wxz-cli
Project-URL: Repository, https://github.com/aliyun/wxz-cli.git
Project-URL: Issues, https://github.com/aliyun/wxz-cli/issues
Keywords: wxz,website-builder,alibaba-cloud,cli,ai
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0
Requires-Dist: rich>=13.0
Requires-Dist: httpx>=0.24.0
Requires-Dist: alibabacloud_tea_openapi>=0.3.0
Requires-Dist: alibabacloud_tea_util>=0.3.0
Requires-Dist: alibabacloud_credentials>=0.3.0
Dynamic: author-email
Dynamic: license-file
Dynamic: requires-python

# wxz-cli

CLI for 万小智 (wxz) — AI-powered conversational website builder on Alibaba Cloud.

## Install

```bash
pip install wxz-cli
```

## Quick Start

```bash
# Login with Alibaba Cloud AK/SK
wxz login --ak <AccessKeyID> --sk <AccessKeySecret>

# Create a website via natural language
wxz chat start "帮我做一个科技公司官网"

# View project info
wxz projects info

# Deploy
wxz deploy publish --watch
```

## Commands

| Command | Description |
|---------|-------------|
| `wxz login` | Authenticate with AK/SK |
| `wxz logout` | Clear local credentials |
| `wxz whoami` | Show current user info |
| `wxz chat start` | Create conversation and generate website |
| `wxz chat send` | Send follow-up message |
| `wxz chat generate` | Trigger code generation |
| `wxz chat status` | Show chat status |
| `wxz chat history` | Show chat history |
| `wxz projects list` | List all instances |
| `wxz projects use` | Bind project to directory |
| `wxz projects info` | Show project details |
| `wxz deploy publish` | Publish website |
| `wxz deploy status` | Get publish status |
| `wxz domain bind` | Bind custom domain |
| `wxz domain dns` | Show DNS records |
| `wxz domain cert` | Set/delete SSL certificate |
| `wxz code tree` | Show sandbox directory tree |
| `wxz code cat` | Show file content |
| `wxz code rollback` | Rollback code snapshot |

## Configuration

### Environment Variables

| Variable | Description |
|----------|-------------|
| `WXZ_BIZ_ID` | Business/instance ID |
| `WXZ_CONVERSATION_ID` | Conversation ID |
| `WXZ_BASE_URL` | POP gateway base URL |

## License

MIT
