ShortHelp:"Register the Tailscale system extension with macOS.",
LongHelp:"This command registers the Tailscale system extension with macOS. To run Tailscale, you'll also need to install the VPN configuration separately (run `tailscale configure vpn-config install`). After running this command, you need to approve the extension in System Settings > Login Items and Extensions > Network Extensions.",
ShortHelp:"Deactivate the Tailscale system extension on macOS",
LongHelp:"This command deactivates the Tailscale system extension on macOS. To completely remove Tailscale, you'll also need to delete the VPN configuration separately (use `tailscale configure vpn-config uninstall`).",
ShortHelp:"Print the enablement status of the Tailscale system extension",
LongHelp:"This command prints the enablement status of the Tailscale system extension. If the extension is not enabled, run `tailscale sysext activate` to enable it.",
Exec:requiresStandalone,
},
},
Exec:requiresStandalone,
}
}
// vpnConfigCmd returns a command for managing the Tailscale VPN configuration on macOS
// (the entry that appears in System Settings > VPN).
ShortHelp:"Manage the VPN configuration on macOS (App Store and Standalone variants)",
LongHelp:"The vpn-config set of commands provides a way to add or remove the Tailscale VPN configuration from the macOS settings. This is the entry that appears in System Settings > VPN.",
ShortHelp:"Write the Tailscale VPN configuration to the macOS settings",
LongHelp:"This command writes the Tailscale VPN configuration to the macOS settings. This is the entry that appears in System Settings > VPN. If you are running the Standalone variant of the client, you'll also need to install the system extension separately (run `tailscale configure sysext activate`).",
ShortHelp:"Delete the Tailscale VPN configuration from the macOS settings",
LongHelp:"This command removes the Tailscale VPN configuration from the macOS settings. This is the entry that appears in System Settings > VPN. If you are running the Standalone variant of the client, you'll also need to deactivate the system extension separately (run `tailscale configure sysext deactivate`).",
Exec:requiresGUI,
},
},
Exec:func(ctxcontext.Context,args[]string)error{
returnerrors.New("unsupported command: requires a GUI build of the macOS client")