package cli
import "tailscale.com/cmd/tailscale/cli"
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 ¶
Variables ¶
Fatalf, if non-nil, is used instead of log.Fatalf.
Functions ¶
func CleanUpArgs ¶
CleanUpArgs rewrites command line arguments for simplicity and backwards compatibility. In particular, it rewrites --authkey to --auth-key.
func Run ¶
Run runs the CLI. The args do not include the binary name.
Source Files ¶
advertise.go bugreport.go cert.go cli.go configure-kube.go configure-synology-cert.go configure-synology.go configure.go configure_apple-all.go debug-capture.go debug.go diag.go dns-query.go dns-status.go dns.go down.go drive.go exitnode.go file.go funnel.go id-token.go ip.go licenses.go login.go logout.go metrics.go nc.go netcheck.go network-lock.go ping.go risks.go serve_legacy.go serve_v2.go set.go ssh.go ssh_exec.go ssh_unix.go status.go switch.go syspolicy.go up.go update.go version.go web.go whois.go
Directories ¶
Path | Synopsis |
---|---|
cmd/tailscale/cli/ffcomplete | Package ffcomplete provides shell tab-completion of subcommands, flags and arguments for Go programs written with ffcli. |
cmd/tailscale/cli/ffcomplete/internal | Package internal contains internal code for the ffcomplete package. |
- Version
- v1.84.0 (latest)
- Published
- May 21, 2025
- Platform
- linux/amd64
- Imports
- 114 packages
- Last checked
- 1 day ago –
Tools for package owners.