Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DiffCmd = &cobra.Command{
Use: "diff",
Short: "Show differences between draft edit and live app",
Long: `Compare the current draft edit state against the live version.
This helps you review pending changes before committing an edit.
If no edit exists, shows the current live state as a summary.`,
RunE: runDiff,
}
DiffCmd compares edit state vs live version
Functions ¶
This section is empty.
Types ¶
type DiffResult ¶
type DiffResult struct {
Section string `json:"section"`
Status string `json:"status"`
Current interface{} `json:"current,omitempty"`
}
DiffResult represents the diff output
type ListingSummary ¶
type ListingSummary struct {
Language string `json:"language"`
Title string `json:"title,omitempty"`
}
ListingSummary represents a listing's current state
Click to show internal directories.
Click to hide internal directories.