feat: refactor cloud CLI to gcloud idioms

Structure: hanzo cloud <service> <verb>

Canonical verbs:
- list, describe, create, delete, update
- connect, env, status (Hanzo-specific)

Lifecycle verbs (resource-dependent):
- start, stop, restart (stateful services: vector, kv, documentdb, etc.)
- enable, disable (functions, cron)
- pause, resume (queues)

New subgroups:
- hanzo cloud services list (available service types)
- hanzo cloud instances list (provisioned instances)
- hanzo cloud operations list/describe/wait (async tracking)

Aliases for backwards compat:
- ls → list, rm/destroy → delete, get → describe
- provision → create, up → create

Old commands still work with deprecation hints.
This commit is contained in:
2026-01-19 23:54:37 -08:00
parent 542f3ec129
commit 891f97afa1
4 changed files with 7283 additions and 222 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "hanzo"
version = "0.3.35"
version = "0.3.36"
description = "Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime"
authors = [
{name = "Hanzo AI", email = "[email protected]"},
+1 -1
View File
@@ -1,6 +1,6 @@
"""Hanzo - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime."""
__version__ = "0.3.35"
__version__ = "0.3.36"
__all__ = ["main", "cli", "__version__"]
from .cli import cli, main
File diff suppressed because it is too large Load Diff
+6443
View File
File diff suppressed because it is too large Load Diff