clidiag

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package clidiag owns shared helpers for customer-facing CLI diagnostics.

Index

Constants

View Source
const DefaultSessionID = "~default"

Variables

This section is empty.

Functions

func PayloadType

func PayloadType(path string) string

PayloadType classifies a submitted file without reading or logging content.

func Printf

func Printf(output io.Writer, enabled bool, format string, args ...any)

Printf writes one verbose diagnostic line when diagnostics are enabled.

func SessionLabel

func SessionLabel(sessionID string) string

SessionLabel returns the user-facing session label used in diagnostics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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