Documentation
¶
Overview ¶
Package cli provides the exported Cobra command tree for the PRISM maturity CLI.
Index ¶
Constants ¶
const ( FormatText = output.FormatText FormatJSON = output.FormatJSON FormatMarkdown = output.FormatMarkdown FormatTOON = output.FormatTOON )
Re-export constants
Variables ¶
var ( TruncateString = output.TruncateString OperatorSymbol = output.OperatorSymbol SafePercent = output.SafePercent GoalStatus = output.GoalStatus MaturityLevelName = output.MaturityLevelName StatusSymbol = output.StatusSymbol FormatInitiativeStatus = output.FormatInitiativeStatus )
Helper functions re-exported from output package
var RootCmd = &cobra.Command{
Use: "maturity",
Short: "PRISM Maturity - Maturity modeling and analysis",
Long: `PRISM Maturity provides maturity modeling, SLO tracking, and organizational
health analysis capabilities.
Use the subcommands to create, validate, score, and analyze PRISM documents.`,
Version: version,
}
RootCmd is the root command for PRISM maturity operations. It can be imported and added as a subcommand to other CLI tools.
Functions ¶
func IsValidFormat ¶
IsValidFormat checks if a format string is valid.
Types ¶
type DetailData ¶
type DetailData = output.DetailData
Re-export types from output package for CLI use
type DetailField ¶
type DetailField = output.DetailField
Re-export types from output package for CLI use
type DetailSection ¶
type DetailSection = output.DetailSection
Re-export types from output package for CLI use
type Formatter ¶
Re-export types from output package for CLI use
func FormatToStdout ¶
FormatToStdout creates a formatter that writes to stdout
func NewFormatter ¶
NewFormatter creates a formatter for the given format string.
type LintIssue ¶
type LintIssue struct {
Severity string // "error", "warning", "info"
Location string // e.g., "domain.level.criterion"
Message string
Hint string // Suggested fix
}
LintIssue represents a linting issue found in the model.
type OutputFormat ¶
Re-export types from output package for CLI use