MCPcopy Create free account
hub / github.com/antirez/freakwan / cmd_help

Method cmd_help

clictrl.py:232–239  ·  view source on GitHub ↗
(self,argv,argc,send_reply)

Source from the content-addressed store, hash-verified

230 return True
231
232 def cmd_help(self,argv,argc,send_reply):
233 if argc != 1: return False
234 helpstr = "Commands: "
235 for x in dir(self):
236 if x.find("cmd_") != 0: continue
237 helpstr += x.replace("cmd_","!")+" "
238 send_reply(helpstr)
239 return True
240
241 def cmd_config(self,argv,argc,send_reply):
242 if argc > 2: return False

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected