cli

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute runs the root command

func GetLogger

func GetLogger() *logger.Logger

GetLogger returns the global logger

Types

type CheckResult added in v1.0.0

type CheckResult struct {
	Name     string
	Status   string // "pass", "fail", "warn", "skip"
	Message  string
	Details  string
	Critical bool // If true, failure should result in non-zero exit code
}

CheckResult represents the result of a diagnostic check

type FileDiff added in v1.0.0

type FileDiff struct {
	Path     string
	Status   string // "added", "modified", "deleted", "unchanged"
	OldLines []string
	NewLines []string
}

type LintIssue

type LintIssue struct {
	File     string
	Line     int
	Column   int
	Rule     string
	Severity string // "error", "warning", "info"
	Message  string
	Fixable  bool
}

type ProjectStats

type ProjectStats struct {
	ProtoFiles struct {
		Count       int
		TotalSize   int64
		Directories int
		LargestFile struct {
			Path string
			Size int64
		}
	}
	GeneratedCode struct {
		Python struct {
			Exists bool
			Files  int
			Size   int64
		}
		Go struct {
			Exists bool
			Files  int
			Size   int64
		}
		Rust struct {
			Exists bool
			Files  int
			Size   int64
		}
		Cpp struct {
			Exists bool
			Files  int
			Size   int64
		}
		TotalFiles int
		TotalSize  int64
	}
	Cache struct {
		Exists bool
		Size   int64
		Files  int
	}
	Config struct {
		Exists    bool
		Languages []string
	}
}

type ProtoDependency

type ProtoDependency struct {
	File       string
	Imports    []string
	ImportedBy []string
}

type ValidationIssue added in v1.0.0

type ValidationIssue struct {
	Severity   string // "error", "warning", "info"
	Field      string
	Message    string
	Suggestion string
}

ValidationIssue represents a configuration validation issue

Jump to

Keyboard shortcuts

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