docs: def action_get(key=None):
      """Gets the value of an action parameter, or all key/value param pairs"""
      cmd = ['action-get']
      if key is not None:
          cmd.append(key)
      cmd.append('--format=json')
      action_data = json.loads(subprocess.check_output(cmd).decode('UTF-8'))
      return action_data