evidencecli

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 12 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

Overview

Package evidencecli is the evidence command: it lists the facts the engine observed in version control and the forge, newest first, for the repo or narrowed to a capability or a pursuit. It reads what the engine stored and starts no poll. Evidence is a top-level command because it spans capabilities and pursuits, so it belongs to neither the pursuit group nor map.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cells

func Cells(f client.EvidenceOut) []string

Cells is a fact in plain words: its kind, the short commit or #<pr>, the capability, when, and its detail (the lead time, or the revert).

func Command

func Command(newForge func(dir string) forge.Forge) *cobra.Command

Command returns the evidence command, naming people through the forge newForge builds for a repo.

func Duration

func Duration(secs int64) string

Duration shows seconds as a person reads a lead time: "45s", "12m", "3h 5m" or "2d 4h", to the two largest units.

func Line

func Line(f client.EvidenceOut) string

Line is a fact as one line of plain words, for a pursuit's Evidence section.

Types

This section is empty.

Jump to

Keyboard shortcuts

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