cmd

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: MIT Imports: 27 Imported by: 1 module, 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 Execute

func Execute()

Types

type AnalyzeInput

type AnalyzeInput struct {
	Domain string `` /* 184-byte string literal not displayed */
}

type AnalyzeOutput

type AnalyzeOutput struct {
	Results []domainResult `json:"results"`
	Summary string         `json:"summary"`
}

type CleanBatchInput

type CleanBatchInput struct {
	Domains     []string `` /* 164-byte string literal not displayed */
	DryRun      *bool    `` /* 128-byte string literal not displayed */
	ConfirmPlan string   `` /* 136-byte string literal not displayed */
}

CleanBatchInput is the input of mac_clean_batch.

type CleanBatchOutput

type CleanBatchOutput struct {
	Previewed    []domainItem        `json:"previewed_items"`
	Deleted      []domainItem        `json:"deleted_items,omitempty"`
	Results      []core.DeleteResult `json:"results,omitempty"`
	FreedBytes   int64               `json:"freed_bytes"`
	FreedHuman   string              `json:"freed"`
	SkippedCount int                 `json:"skipped_unsafe_count"`
	DryRun       bool                `json:"dry_run"`
	PlanDigest   string              `json:"plan_digest"`
	AuditPath    string              `json:"audit_path,omitempty"`
	AuditError   string              `json:"audit_error,omitempty"`
}

CleanBatchOutput is the preview (items + plan_digest) or the real result.

type CleanPreviewInput

type CleanPreviewInput struct {
	Domain string `json:"domain,omitempty" jsonschema:"optional domain to preview (empty = all domains)"`
}

type CleanPreviewOutput

type CleanPreviewOutput struct {
	SafeItems    []domainItem `json:"safe_items"`
	UnsafeItems  []domainItem `json:"unsafe_items"`
	TotalSafe    string       `json:"total_safe_size"`
	TotalUnsafe  string       `json:"total_unsafe_size"`
	SafeCount    int          `json:"safe_count"`
	UnsafeCount  int          `json:"unsafe_count"`
	Instructions string       `json:"instructions"`
}

type DockerBackupInput

type DockerBackupInput struct {
	Container string `json:"container" jsonschema:"required,container name to backup (must be running)"`
}

type DockerCleanupInput

type DockerCleanupInput struct {
	Keep        string `json:"keep" jsonschema:"required,comma-separated container names to preserve"`
	DryRun      *bool  `` /* 128-byte string literal not displayed */
	ConfirmPlan string `` /* 136-byte string literal not displayed */
}

DockerCleanupInput is the input of mac_docker_cleanup.

type DockerCleanupOutput added in v1.7.2

type DockerCleanupOutput struct {
	DryRun     bool                `json:"dry_run"`
	Plan       docker.CleanupPlan  `json:"plan"`
	PlanDigest string              `json:"plan_digest"`
	Results    []docker.ItemResult `json:"results,omitempty"`
	Succeeded  int                 `json:"succeeded,omitempty"`
	Failed     int                 `json:"failed,omitempty"`
	AuditPath  string              `json:"audit_path,omitempty"`
	AuditError string              `json:"audit_error,omitempty"`
}

DockerCleanupOutput is the preview (plan + plan_digest) or the real result.

type DockerCompactInput

type DockerCompactInput struct{}

type DoctorInput added in v1.4.0

type DoctorInput struct {
	NoAI bool `json:"no_ai,omitempty" jsonschema:"optional,force the deterministic heuristic engine instead of Groq"`
}

type EmptyInput

type EmptyInput struct{}

type MonitorOutput

type MonitorOutput struct {
	Data map[string]any `json:"data"`
}

type StatusOutput

type StatusOutput struct {
	Domains []statusEntry `json:"domains"`
}

Jump to

Keyboard shortcuts

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