MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / print_help

Function print_help

device.py:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 sys.exit(1)
28
29def print_help():
30 print("Usage: python device.py [device_id] [arguments]\n\n")
31 print(f"\t[device_id] the device identifier (folder name in {DEVICES_DIRECTORY}/)")
32 print("\n")
33 print("Optional arguments:\n")
34 print("\t--dev developer options (limit to 4MB partition table)")
35
36def get_properties_file_path(device_id: str):
37 return os.path.join(DEVICES_DIRECTORY, device_id, "device.properties")

Callers 1

device.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected