You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tailscale/cli
Brad Fitzpatrick ba5aa2c486 version, cmd/tailscale: add version.Meta, tailscale version --json
Add `tailscale version --json` JSON output mode. This will be used
later for a double-opt-in (per node consent like Tailscale SSH +
control config) to let admins do remote upgrades via `tailscale
update` via a c2n call, which would then need to verify the
cmd/tailscale found on disk for running tailscale update corresponds
to the running tailscaled, refusing if anything looks amiss.

Plus JSON output modes are just nice to have, rather than parsing
unstable/fragile/obscure text formats.

Updates #6995
Updates #6907

Change-Id: I7821ab7fbea4612f4b9b7bdc1be1ad1095aca71b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
auth-redirect.html cmd/tailscale/web: add support for QNAP 3 years ago
authenticode_windows.go cmd/tailscale/cli: make "update" work on Windows 1 year ago
bugreport.go cmd/tailscale, ipn: enable debug logs when --report flag is passed to bugreport (#5830) 2 years ago
cert.go cmd/tailscale/cli: capitalize Get (#6586) 2 years ago
cli.go cmd/tailscale: add start of "tailscale update" command 1 year ago
cli_test.go cmd/tailscale/cli: add ability to set short names for profiles 2 years ago
configure-host.go all: fix resource leaks with missing .Close() calls 2 years ago
debug.go cmd/tailscale, logtail: add 'tailscale debug daemon-logs' logtail mechanism 1 year ago
diag.go all: remove old +build tags 2 years ago
diag_other.go all: remove old +build tags 2 years ago
down.go cmd/tailscale/cli: [up] move lose-ssh check after other validations 2 years ago
file.go cmd/tailscale/cli: add progress to tailscale file cp 2 years ago
id-token.go cmd/tailscale/cli: use printf and outln consistently 2 years ago
ip.go all: use various net/netip parse funcs directly 2 years ago
licenses.go cmd/tailscale: add licenses link to web UI 2 years ago
login.go cmd/tailscale/cli: un-alpha login+switch in ShortUsage docs 1 year ago
logout.go client/tailscale: move/copy all package funcs to new LocalClient type 2 years ago
nc.go client/tailscale: move/copy all package funcs to new LocalClient type 2 years ago
netcheck.go net/netcheck: add check for captive portal (#5593) 2 years ago
network-lock.go cmd/tailscale/cli: implement --json for lock status and lock log cmds 1 year ago
ping.go all: use various net/netip parse funcs directly 2 years ago
risks.go tstest/integration: add --accept-risk=all to tailscale down 2 years ago
serve.go cmd/tailscale/cli: use mock impl of LocalClient for serve cmd (#6422) 1 year ago
serve_test.go cmd/tailscale/cli: use mock impl of LocalClient for serve cmd (#6422) 1 year ago
set.go cmd/tailscale/cli: use "account" instead of "profile" in user-visible text 2 years ago
set_test.go types/ptr: move all the ptrTo funcs to one new package's ptr.To 2 years ago
ssh.go cmd/tailscale/cli: [ssh] fix typo in help text (#6694) 2 years ago
ssh_exec.go all: remove old +build tags 2 years ago
ssh_exec_js.go use C:\Windows\System32\OpenSSH\ssh.exe (#4933) 2 years ago
ssh_exec_windows.go all: fix spelling mistakes 2 years ago
ssh_unix.go all: remove old +build tags 2 years ago
status.go cmd/tailscale/cli, ipn/localapi: add funnel status to status command (#6402) 2 years ago
switch.go cmd/tailscale/cli: un-alpha login+switch in ShortUsage docs 1 year ago
up.go cmd/tailscale: fix "up" warning about netfilter-mode on Synology 1 year ago
update.go cmd/tailscale/cli: make 'tailscale update' support Debian/Ubuntu apt 1 year ago
update_test.go cmd/tailscale/cli: make 'tailscale update' support Debian/Ubuntu apt 1 year ago
update_windows.go cmd/tailscale/cli: make "update" work on Windows 1 year ago
version.go version, cmd/tailscale: add version.Meta, tailscale version --json 1 year ago
web.css cmd/tailscale/cli: style synology outgoing access info (#6959) 1 year ago
web.go cmd/tailscale/cli: make web show/link Synology outgoing connection mode/docs 1 year ago
web.html cmd/tailscale/cli: style synology outgoing access info (#6959) 1 year ago
web_test.go cmd/tailscale: update web server test copyright 3 years ago