statusview

package
v0.182.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package statusview presents reusable local repository status commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFlags

func BindFlags(command *cobra.Command, options *Options, details, all *bool, fleetFilters bool)

func Markdown

func Markdown(report repostatus.Index, details bool, title string) string

func NewFleet

func NewFleet(runtime shared.Runtime, deps Dependencies) *cobra.Command

func NewHistorical

func NewHistorical(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewHistorical keeps the historical entry point. Prefer the explicit nouns: wb fleet status / wb fleet stats / wb fleet, and wb repo status.

func NewRepository

func NewRepository(runtime shared.Runtime, deps Dependencies) *cobra.Command

func WriteReports

func WriteReports(report repostatus.Index, directory string, details bool, title string) error

WriteReports preserves Markdown-before-YAML file effects before stdout validation.

Types

type Dependencies

type Dependencies struct {
	Collect      func(reposelection.Request, repostatus.Observer) (repostatus.Index, error)
	WriteReports func(repostatus.Index, string, bool, string) error
	Interactive  func(io.Writer, bool) bool
}

Dependencies provides the concrete operations and terminal policy for one command instance.

type Options

type Options struct {
	Parallel                        int
	Match, Regex, Format, ReportDir string
}

Options contains only the status flags shared with fleet overview.

Jump to

Keyboard shortcuts

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