Documentation
¶
Overview ¶
Package cmd defines commands of the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Changelog ¶ added in v0.2.0
type Changelog struct {
From string `long:"from" env:"FROM" description:"sha to start release notes from" required:"true"`
To string `long:"to" env:"TO" description:"sha to end release notes to" required:"true"`
Engine flg.EngineGroup `group:"engine" namespace:"engine" env-namespace:"ENGINE"`
Notify flg.NotifyGroup `group:"notify" namespace:"notify" env-namespace:"NOTIFY"`
}
Changelog builds the release-notes from the specified template ands sends it to the desired destinations (telegram, stdout (for CI), etc.).
type ReleaseNotes ¶
type ReleaseNotes struct {
Tag string `long:"tag" env:"TAG" description:"tag to be released" required:"true"`
Engine flg.EngineGroup `group:"engine" namespace:"engine" env-namespace:"ENGINE"`
Notify flg.NotifyGroup `group:"notify" namespace:"notify" env-namespace:"NOTIFY"`
}
ReleaseNotes builds the release-notes from the specified template ands sends it to the desired destinations (telegram, stdout (for CI), etc.).
func (ReleaseNotes) Execute ¶
func (r ReleaseNotes) Execute(_ []string) error
Execute the release-notes command.
Click to show internal directories.
Click to hide internal directories.