-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
20 lines (16 loc) · 765 Bytes
/
main.py
File metadata and controls
20 lines (16 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
cli_orchestrator entry point.
Usage:
python main.py # default channel from config
python main.py cli # force CLI mode
python main.py codecli # force CLI mode (legacy alias)
python main.py telegram # force Telegram mode
python main.py tool # local tool runtime (does not read stdin)
python main.py http # force HTTP mode (uses default_channel.http)
python main.py http:ops_bridge # force HTTP mode with named channel
python main.py weixin # force WeChat mode (uses default_channel.weixin)
python main.py weixin:user_weixin # force WeChat mode with named channel
"""
from cli_orchestrator.__main__ import main
if __name__ == "__main__":
main()