Documentation
¶
Overview ¶
Package doctor says what workline needs on this machine and in a repository, what is missing, and the command that sets each one up, as `flutter doctor` and `brew doctor` do. It changes nothing.
Index ¶
Constants ¶
View Source
const ( OK = "ok" // set up Note = "note" // a choice, said so it is not mistaken for a pass Warn = "warn" // something does not run; workline still works Error = "error" // workline cannot do what it is set up to do )
The levels of a check, from fine to broken.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
type Check struct {
Area string `json:"area"` // machine | repository
Rule string `json:"rule"`
Where string `json:"where,omitempty"`
Level string `json:"level"`
Message string `json:"message"`
Fix string `json:"fix,omitempty"` // the command that sets it up, or where to read how
}
Check is one thing looked at.
type Options ¶
type Options struct {
Repo string // a repository's root; empty: the machine only
RolesDir string
AI string // WORKLINE_AI, which the hooks use first
UserAI string // `ai:` in the user's config
// NoPushApproval: the person has not asked to approve each push (ADR-0011).
NoPushApproval bool
}
Options say where to look.
Click to show internal directories.
Click to hide internal directories.