Documentation
¶
Overview ¶
Package cli is rlsbl's command line: the strictcli application, every command and group registration (one file per group), their flags and arguments, the payload types and human renderings of --json, and the wiring of the checks registry and the observe allowlist. No other package registers a command; handlers here call into the packages that do the work.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(d Dependencies) (*strictcli.App, error)
New builds the application with every command registered.
func NewHTTPClient ¶
NewHTTPClient is the HTTP client of the released binary.
Types ¶
type Dependencies ¶
type Dependencies struct {
// Version is the release version the binary carries.
Version string
// HTTPClient sends every HTTP request the commands make: NewHTTPClient
// in the binary, a fake transport's client in tests.
HTTPClient *http.Client
}
Dependencies are what the application takes from outside. Every field is required.
Source Files
¶
- app.go
- changelog.go
- checks.go
- commit.go
- confidential.go
- dev.go
- discover.go
- fork.go
- historyrewrite.go
- migrate.go
- monorepo.go
- monorepo_conversions.go
- monorepo_maintenance.go
- monorepo_release.go
- monorepo_reports.go
- monorepo_sync.go
- names.go
- options.go
- register.go
- release.go
- releaseops.go
- releaserun.go
- render.go
- rewrite.go
- scaffold.go
- secrets.go
- status.go
- targets.go
- transition.go
- unreleased.go
- upstream.go
- watch.go
Click to show internal directories.
Click to hide internal directories.