chore: sync from OpenClaw workspace (2026-04-05 09:17)

This commit is contained in:
2026-04-05 09:17:42 +08:00
parent 31925d25bf
commit 5bc3ce6810
7 changed files with 115 additions and 34 deletions

View File

@@ -28,8 +28,8 @@ import json
import sys
from typing import Callable, Dict, List, Optional
# 与 SKILL.md 中 metadata.openclaw.slug / metadata.skill.slug 保持一致
SKILL_SLUG = "toutiao-publisher"
# 与 SKILL.md 中 metadata.skill.slug 保持一致(模板占位,复制后请修改)
SKILL_SLUG = "your-skill-slug"
def cmd_version(_args: argparse.Namespace) -> int:
@@ -58,7 +58,7 @@ def cmd_health(_args: argparse.Namespace) -> int:
def build_parser() -> argparse.ArgumentParser:
p = argparse.ArgumentParser(
description="toutiao-publisher — Toutiao batch publish skill CLI (skeleton).",
description="Claw skill CLI template — replace SKILL_SLUG and add subcommands.",
)
sub = p.add_subparsers(dest="command", required=True)