cli

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 11 Imported by: 0

Documentation

Overview

Package cli is the thin CEM command dispatch. It lives under internal/cem so the dependency-closure regression covers it: the CEM seams and this dispatch depend only on the Go standard library and the local Git executable, and never route through internal/gokernel or any runtime/provider surface.

Index

Constants

This section is empty.

Variables

View Source
var Export func(ctx context.Context, root string, values map[string]string) (map[string]any, error)

Export serves export (internal/receiptbundle), installed by the binary for the same reason as GitNotes.

View Source
var GitNotes func(ctx context.Context, root, action string, values map[string]string) (map[string]any, error)

GitNotes serves anchor and provenance (internal/gitnotes). The binary installs it, so the CEM seams' dependency closure stays the standard library and internal/cem; an uninstalled handler is an invalid choice.

Functions

func Run

func Run(ctx context.Context, root string, arguments []string, stdout, stderr io.Writer) int

Run executes one `corvint cem ACTION` invocation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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