cli

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 86 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatReport

func FormatReport(report usage.Report, insertions int, deletions int) string

FormatReport renders a usage Report as a per-day table plus totals and net-LOC efficiency ratios. Cost and net-LOC are labeled as estimates: persisted usage events carry no model id or cost (cost is reconstructed from session metadata), and net-LOC is a working-tree diff proxy. The insertions/deletions counts come straight from the parsed working-tree --stat.

func Run

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

Run executes the minimal Go CLI surface. It returns an exit code so tests can exercise command behavior without terminating the test process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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