tailscale/cmd/tailscale/cli
Brad Fitzpatrick f42ded7acf cmd/tailscale/cli: relax & improve the running-as-CLI check for macOS
On macOS, we link the CLI into the GUI executable so it can be included in
the Mac App Store build.

You then need to run it like:

/Applications/Tailscale.app/Contents/MacOS/Tailscale <command>

But our old detection of whether you're running that Tailscale binary
in CLI mode wasn't accurate and often bit people. For instance, when
they made a typo, it then launched in GUI mode and broke their
existing GUI connection (starting a new IPNExtension) and took down
their network.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-20 09:18:33 -07:00
..
bugreport.go cmd/tailscale, ipn/localapi: add "tailscale bugreport" subcommand 2021-03-31 15:19:51 -07:00
cli_test.go ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up 2021-04-18 08:12:18 -07:00
cli.go cmd/tailscale/cli: relax & improve the running-as-CLI check for macOS 2021-04-20 09:18:33 -07:00
debug.go ipn/localapi, cmd/tailscale: add API to get prefs, CLI debug command to show 2021-04-07 08:28:11 -07:00
down.go ipn/localapi: move EditPrefs to localapi 2021-04-11 16:11:43 -07:00
ip.go cmd/tailscale/cli: let ip take a peername 2021-04-14 08:13:16 -07:00
logout.go cmd/tailscale: fix command descriptions (#1710) 2021-04-15 18:33:23 -04:00
netcheck.go net/portmapper: add NAT-PMP client, move port mapping service probing 2021-02-23 09:07:38 -08:00
ping.go ipn/ipnstate: add PeerStatus.TailscaleIPs slice, deprecate TailAddr 2021-04-14 08:12:31 -07:00
push.go cmd/tailscale/cli: make push get peerapi base via localapi, not TSMP ping 2021-04-13 08:50:16 -07:00
status.go ipn/ipnstate: add PeerStatus.TailscaleIPs slice, deprecate TailAddr 2021-04-14 08:12:31 -07:00
up.go ipn, cmd/tailscale/cli: add pref to configure sudo-free operator user 2021-04-19 10:12:41 -07:00
version.go cmd/tailscale, ipn/localapi: get daemon version from localapi status 2021-03-18 21:14:10 -07:00
web.css cmd/tailscale/cli: split out web.css file 2021-03-31 10:48:05 -07:00
web.go ipn: add DefaultControlURL const, replace few literals with it 2021-04-18 07:48:53 -07:00
web.html cmd/tailscale/cli: split out web.css file 2021-03-31 10:48:05 -07:00