cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type SyncResult

type SyncResult struct {
	Name   string `json:"name"`
	Status string `json:"status"`
	Error  string `json:"error,omitempty"`
	Behind int    `json:"behind_by,omitempty"`
}

SyncResult represents the result of a sync operation

type SyncSummary

type SyncSummary struct {
	Synced    []string          `json:"synced"`
	UpToDate  []string          `json:"up_to_date"`
	Errors    map[string]string `json:"errors"`
	Timestamp string            `json:"timestamp"`
}

SyncSummary represents the summary of all sync operations

Jump to

Keyboard shortcuts

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