mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 14:30:45 +08:00
- 在 oclaw/ 下重新初始化 Git 仓库 - 补齐子仓库 .gitignore,避免提交本地运行态数据(_local、node_modules、logs 等) - 提交当前工程代码与配置 Made-with: Cursor
14 lines
303 B
Python
14 lines
303 B
Python
from __future__ import annotations
|
|
|
|
from abc import ABC, abstractmethod
|
|
from argparse import _SubParsersAction
|
|
|
|
|
|
class ChannelProvider(ABC):
|
|
@property
|
|
@abstractmethod
|
|
def name(self) -> str: ...
|
|
|
|
@abstractmethod
|
|
def register(self, channel_subparsers: _SubParsersAction) -> None: ...
|
|
|