MCPcopy
hub / github.com/RUB-NDS/PRET / help_resource

Method help_resource

postscript.py:1044–1051  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1042 self.onecmd("help resource")
1043
1044 def help_resource(self):
1045 self.populate_resource()
1046 print("List or dump PostScript resource: resource <category> [dump]")
1047 print("Available resources on this device:")
1048 if len(self.options_resource) > 0:
1049 last = sorted(self.options_resource)[-1]
1050 for res in sorted(self.options_resource):
1051 print((('└─ ' if res == last else '├─ ') + res))
1052
1053 options_resource = []
1054

Callers

nothing calls this directly

Calls 1

populate_resourceMethod · 0.95

Tested by

no test coverage detected