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
Mihai Parparita 33520920c3 all: use strs.CutPrefix and strs.CutSuffix more
Updates places where we use HasPrefix + TrimPrefix to use the combined
function.

Updates #5309

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
auth-redirect.html cmd/tailscale/web: add support for QNAP 3 years 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: start making cert output support pkcs12 (p12) output 2 years ago
cli.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 2 years ago
cli_test.go cmd/tailscale/cli: add login and switch subcommands 2 years ago
configure-host.go all: fix resource leaks with missing .Close() calls 2 years ago
debug.go all: use strs.CutPrefix and strs.CutSuffix more 2 years 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 all: use strs.CutPrefix and strs.CutSuffix more 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: add login and switch subcommands 2 years 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 all: store NL keys per profile 2 years ago
ping.go all: use various net/netip parse funcs directly 2 years ago
risks.go cmd/tailscale/cli: [up] move lose-ssh check after other validations 2 years ago
serve.go cmd/tailscale/cli: disallow empty text "" from serve CLI (#6416) 2 years ago
serve_test.go cmd/tailscale/cli, ipn: move serve CLI funcs on to ServeConfig (#6401) 2 years ago
set.go cmd/tailscale/cli: [set] handle selectively modifying routes/exit node 2 years ago
set_test.go cmd/tailscale/cli: [set] handle selectively modifying routes/exit node 2 years ago
ssh.go cmd/tailscale/cli: flesh out "tailscale ssh" CLI docs 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: make "up", "status" warn if routes and --accept-routes off 2 years ago
switch.go cmd/tailscale/cli: add login and switch subcommands 2 years ago
up.go all: use strs.CutPrefix and strs.CutSuffix more 2 years ago
version.go client/tailscale: move/copy all package funcs to new LocalClient type 2 years ago
web.css cli: web advertise exit node button 3 years ago
web.go cmd/tailscale: access QNAP via localhost 2 years ago
web.html cmd/tailscale: add licenses link to web UI 2 years ago
web_test.go cmd/tailscale: update web server test copyright 3 years ago