fork(1) download
  1. DEFAULTS = {
  2. "PASSWRD" : {
  3. 0 : "None",
  4. 1: "Requires standard password",
  5. 2: "Requires factory password",
  6. },
  7. "COMMANDS" : {
  8. "ZS" : {
  9. "Type" : "SETUP",
  10. "Max Parameters Required" : 1,
  11. "Parameters" : "[,n]",
  12. "Definition" : "Set/Get Seeder delay",
  13. "Password": 0
  14. },
  15. "ZV" : {
  16. "Type" : "SETUP",
  17. "Max Parameters Required" : 1,
  18. "Parameters" : "[,n]",
  19. "Definition" : "Set/Get Variable Sync delay",
  20. "Password": 0
  21. },
  22. }
  23. }
  24.  
  25. for command, stuff in DEFAULTS["COMMANDS"].items():
  26. print(f"\nCommand: {command}")
  27. print(f'{stuff["Definition"]}')
  28. print(f'{stuff["Password"]}')
  29. print(DEFAULTS["PASSWRD"][stuff["Password"]])
  30.  
Success #stdin #stdout 0.02s 8992KB
stdin
Standard input is empty
stdout
Command: ZS
Set/Get Seeder delay
0
None

Command: ZV
Set/Get Variable Sync delay
0
None