cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 72 Imported by: 0

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