cli
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package cli contains the cmd/tailscale CLI code in a package that can be includedin other wrapper binaries such as the Mac and Windows clients.
Index¶
Constants¶
This section is empty.
Variables¶
var Fatalf func(formatstring, a ...any)Fatalf, if non-nil, is used instead of log.Fatalf.
var Stderrio.Writer =os.Stderrvar Stdoutio.Writer =os.StdoutFunctions¶
funcCleanUpArgs¶added inv1.22.0
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¶
- appcroutes.go
- bugreport.go
- cert.go
- cli.go
- configure-kube.go
- configure-synology-cert.go
- configure-synology.go
- configure.go
- configure_apple-all.go
- configure_linux-all.go
- configure_linux.go
- debug-capture.go
- debug-peer-relay.go
- debug-portmap.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
- maybe_syspolicy.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
- systray.go
- up.go
- update.go
- version.go
- web.go
- whois.go
Directories¶
| Path | Synopsis |
|---|---|
Package ffcomplete provides shell tab-completion of subcommands, flags and arguments for Go programs written with ffcli. | Package ffcomplete provides shell tab-completion of subcommands, flags and arguments for Go programs written with ffcli. |
internal Package internal contains internal code for the ffcomplete package. | Package internal contains internal code for the ffcomplete package. |
Package jsonoutput provides stable and versioned JSON serialisation for CLI output. | Package jsonoutput provides stable and versioned JSON serialisation for CLI output. |