#!/usr/bin/env bash
# Run a command on a locally running instance of tailscaled.

set -o errexit
set -o nounset
set -o xtrace

NAME="$1"

cd ~/repos/oss

./tool/go run ./cmd/tailscale \
  --socket=/tmp/ts/$NAME/ts.sock "${@:2}"