Documentation
¶
Overview ¶
Package cli binds terminal commands to domain services. It owns presentation, explicit execution opt-in and local artifacts, never architecture analysis.
Index ¶
Constants ¶
const WorkspaceReportVersion = 1
WorkspaceReportVersion is the version of schemas/workspace-report.schema.json.
Variables ¶
var Version = "0.2.0-dev"
Version is set at release time with -ldflags "-X .../internal/cli.Version=X.Y.Z"; `go install module@vX.Y.Z` builds report the module version instead.
Functions ¶
func Interactive ¶
Interactive is bare `radar` on a terminal: it shows the repository's branches and dispatches each menu choice to the same command line Run executes, so it adds no analysis or execution path of its own. Tests run only after the person confirms each --run.
Types ¶
type ConfigurationInput ¶
type ConfigurationInput struct {
Kind string `json:"kind"`
Path string `json:"path"`
Digest string `json:"digest"`
FinalDigest string `json:"final_digest,omitempty"`
Status model.Status `json:"status"`
Explanation string `json:"explanation"`
// contains filtered or unexported fields
}
ConfigurationInput binds the exact decoded invocation bytes. These inputs are independent of candidate commits; observations do not lock the filesystem.
Source Files
¶
- affected.go
- artifacts.go
- check.go
- check_source.go
- cli.go
- commands.go
- configuration.go
- contracts.go
- discovery.go
- doctor.go
- evidence.go
- gate.go
- gate_diagnostics.go
- gate_flags.go
- graph.go
- interactive.go
- mcp.go
- mcp_compact.go
- merge_check.go
- planning.go
- policy.go
- progress.go
- render.go
- setup.go
- snapshots.go
- style.go
- test_proposal.go
- watch.go
- workspace.go
- workspace_connect.go
- workspace_gate.go
- workspace_gate_render.go