cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package cli implements the bubblepprof external analyser command:

bubblepprof fetch <url> [-o file]
bubblepprof memusage <bundle-or-url> -labels k=v[,k=v...]
bubblepprof memusage <bundle-or-url> -label k=v [-label k=v ...]

The analysis path is the same memusage.AnalyzeDump pipeline used by the in-process /debug/memusage endpoint, fed by a capture bundle instead of a live heap dump, so responses and error codes are identical in both modes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

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

Main runs the CLI and returns its process exit code. It is the whole implementation behind cmd/bubblepprof, kept here so tests can drive it in-process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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