Documentation
¶
Overview ¶
Package statusview presents reusable local repository status commands.
Index ¶
- func BindFlags(command *cobra.Command, options *Options, details, all *bool, ...)
- func Markdown(report repostatus.Index, details bool, title string) string
- func NewFleet(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewHistorical(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewRepository(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func WriteReports(report repostatus.Index, directory string, details bool, title string) error
- type Dependencies
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.