Documentation ¶
Overview ¶
Package cli contains the cmd/tailscale CLI code in a package that can be included in other wrapper binaries such as the Mac and Windows clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Fatalf func(format string, a ...any)
Fatalf, if non-nil, is used instead of log.Fatalf.
View Source
var Stderr io.Writer = os.Stderr
View Source
var Stdout io.Writer = os.Stdout
Functions ¶
func CleanUpArgs ¶
CleanUpArgs rewrites command line arguments for simplicity and backwards compatibility. In particular, it rewrites --authkey to --auth-key.
Types ¶
This section is empty.
Source Files ¶
- bugreport.go
- cert.go
- cli.go
- configure-kube.go
- configure-synology.go
- configure.go
- debug.go
- diag.go
- down.go
- exitnode.go
- file.go
- funnel.go
- id-token.go
- ip.go
- licenses.go
- login.go
- logout.go
- nc.go
- netcheck.go
- network-lock.go
- ping.go
- risks.go
- serve_legacy.go
- serve_v2.go
- set.go
- share.go
- ssh.go
- ssh_exec.go
- ssh_unix.go
- status.go
- switch.go
- up.go
- update.go
- version.go
- web.go
- whois.go
Click to show internal directories.
Click to hide internal directories.