Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 36 Imported by: 0

Documentation

Overview

Package cli parses flags and runs the TUI, web server, or snapshot commands.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set at build time via -ldflags "-X .../cli.Version=...".

Functions

func Run

func Run(args []string, stdout, stderr io.Writer) int

Run parses args (as in os.Args[1:]) and executes portop, writing any non-interactive output to stdout/stderr. It returns the process exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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