cli

package
v1.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2021 License: BSD-3-Clause Imports: 57 Imported by: 5

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

This section is empty.

Functions

func ActLikeCLI

func ActLikeCLI() bool

ActLikeCLI reports whether a GUI application should act like the CLI based on os.Args, GOOS, the context the process is running in (pty, parent PID), etc.

func Run

func Run(args []string) error

Run runs the CLI. The args do not include the binary name.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL