tailscale.comtailscale.com/release/dist/cli Index | Files

package cli

import "tailscale.com/release/dist/cli"

Package cli provides the skeleton of a CLI for building release packages.

Index

Functions

func CLI

func CLI(getTargets func() ([]dist.Target, error)) *ffcli.Command

CLI returns a CLI root command to build release packages.

getTargets is a function that gets run in the Exec function of commands that need to know the target list. Its execution is deferred in this way to allow customization of command FlagSets with flags that influence the target list.

Source Files

cli.go

Version
v1.84.0 (latest)
Published
May 21, 2025
Platform
linux/amd64
Imports
13 packages
Last checked
2 days ago

Tools for package owners.