code: def print_details(srv):
      
      name = srv.service_type
      box = "=" * 79
      print("{0}\n|{1:^77}|\n{0}\n".format(box, name))
      for action in srv.iter_actions():
          print(action.name)
          print("~" * len(action.name))
          print("\n  Input")
          for arg in action.in_args:
              print("    ", arg)
          print("\n  Output")
          for arg in action.out_args:
              print("    ", arg)
  
          print("\n\n")
docs: Print the details of a service