View Source Tailscale.Local.Cmd (Tailscale v0.1.0)

Execute a command on the local Tailscale CLI.

The Tailscale CLI should be running and active.

On macOS, the Tailscale CLI is located inside the Tailscale.app bundle. On Linux, the Tailscale CLI is located by finding it in the $PATH.

Summary

Functions

Execute a Tailscale CLI command.

Functions

Execute a Tailscale CLI command.

This function will raise an exception if the Tailscale CLI command fails. It also can optionally decode the output as JSON (helpful for commands that return JSON output). However, if it fails to decode JSON, it will raise.