MCPcopy Create free account
hub / github.com/cloudflare/cloudflared / list_tunnels

Method list_tunnels

component-tests/cli.py:27–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25 return result
26
27 def list_tunnels(self):
28 cmd_args = ["list", "--output", "json"]
29 listed = self._run_command(cmd_args, "list")
30 return json.loads(listed.stdout)
31
32 def get_management_token(self, config, config_path, resource):
33 basecmd = [config.cloudflared_binary]

Callers

nothing calls this directly

Calls 1

_run_commandMethod · 0.95

Tested by

no test coverage detected