MCPcopy Create free account
hub / github.com/Ptechgithub/configs / display_id

Function display_id

wa.py:18–24  ·  view source on GitHub ↗
(file_path, name)

Source from the content-addressed store, hash-verified

16}
17
18def display_id(file_path, name):
19 if os.path.exists(file_path):
20 with open(file_path, "r") as file:
21 identity_data = json.load(file)
22 return f"[{name} ID]\nID: {identity_data.get('id', 'Not set')}\n\n"
23 else:
24 return f"[{name} ID]\nID: Not set\n\n"
25
26print (" ======= Warp to Warp plus ======")
27print("")

Callers 1

wa.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected