MCPcopy
hub / github.com/pyload/pyload / print_commands

Function print_commands

pyLoadCli.py:442–463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

440
441
442def print_commands():
443 commands = [("status", _("Prints server status")),
444 ("queue", _("Prints downloads in queue")),
445 ("collector", _("Prints downloads in collector")),
446 ("add <name> <link1> <link2>...", _("Adds package to queue")),
447 ("add_coll <name> <link1> <link2>...", _("Adds package to collector")),
448 ("del_file <fid> <fid2>...", _("Delete Files from Queue/Collector")),
449 ("del_package <pid> <pid2>...", _("Delete Packages from Queue/Collector")),
450 ("move <pid> <pid2>...", _("Move Packages from Queue to Collector or vice versa")),
451 ("restart_file <fid> <fid2>...", _("Restart files")),
452 ("restart_package <pid> <pid2>...", _("Restart packages")),
453 ("check <container|url> ...", _("Check online status, works with local container")),
454 ("check_container path", _("Checks online status of a container file")),
455 ("pause", _("Pause the server")),
456 ("unpause", _("continue downloads")),
457 ("toggle", _("Toggle pause/unpause")),
458 ("kill", _("kill server")), ]
459
460 print _("List of commands:")
461 print
462 for c in commands:
463 print "%-35s %s" % c
464
465
466def writeConfig(opts):

Callers 2

processCommandMethod · 0.85
mainFunction · 0.85

Calls 1

_Function · 0.50

Tested by

no test coverage detected