MCPcopy Create free account
hub / github.com/edmar/whenx / create

Function create

whenx/console.py:8–15  ·  view source on GitHub ↗
(mission)

Source from the content-addressed store, hash-verified

6
7
8def create(mission):
9 captain = Captain(mission)
10 team = Team(name=mission)
11 team = captain.run(team)
12 print(f"Team created with mission: {team.name}")
13 print(f"Scout: {team.scouts[0].instruction}")
14 print(f"Sentinel: {team.sentinels[0].instruction}")
15 print(f"Soldier: {team.soldiers[0].instruction}")
16
17
18def run():

Callers 1

mainFunction · 0.90

Calls 3

runMethod · 0.95
CaptainClass · 0.90
TeamClass · 0.90

Tested by

no test coverage detected