cmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 4 Imported by: 0

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.).

func (Changelog) Execute added in v0.2.0

func (r Changelog) Execute(_ []string) error

Execute the release-notes command.

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.

Directories

Path Synopsis
Package flg defines flags, common for all commands.
Package flg defines flags, common for all commands.

Jump to

Keyboard shortcuts

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