MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / main

Function main

src/harness/ephemeral/cli.py:125–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123
124
125def main():
126 from harness.paths import ensure_runtime_dirs
127
128 ensure_runtime_dirs()
129
130 if len(sys.argv) == 1:
131 from harness.ephemeral.repl import launch_repl
132
133 launch_repl()
134 return
135
136 fire.Fire(
137 {
138 "run": run,
139 "cli": cli,
140 "setup": {
141 "slack": _setup_slack,
142 "discord": _setup_discord,
143 },
144 "listen": {
145 "slack": _listen_slack,
146 "discord": _listen_discord,
147 },
148 }
149 )
150
151
152if __name__ == "__main__":

Callers 1

cli.pyFile · 0.70

Calls 2

ensure_runtime_dirsFunction · 0.90
launch_replFunction · 0.90

Tested by

no test coverage detected