config

package
v2.23.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig added in v2.3.0

func InitConfig(cmd *cobra.Command) error

func SetFlags added in v2.17.0

func SetFlags(cmd *cobra.Command)

Types

type Config

type Config struct {
	Token                                 string
	ProviderPlugin                        string
	ProviderOpts                          map[string]string
	CommitAnalyzerPlugin                  string
	CommitAnalyzerOpts                    map[string]string
	CIConditionPlugin                     string
	CIConditionOpts                       map[string]string
	ChangelogGeneratorPlugin              string
	ChangelogGeneratorOpts                map[string]string
	Changelog                             string
	FilesUpdaterPlugins                   []string
	FilesUpdaterOpts                      map[string]string
	HooksPlugins                          []string
	HooksOpts                             map[string]string
	UpdateFiles                           []string
	Match                                 string
	VersionFile                           bool
	Prerelease                            bool
	Ghr                                   bool
	NoCI                                  bool
	Dry                                   bool
	AllowInitialDevelopmentVersions       bool
	AllowNoChanges                        bool
	ForceBumpPatchVersion                 bool
	MaintainedVersion                     string
	PrependChangelog                      bool
	DownloadPlugins                       bool
	ShowProgress                          bool
	AllowMaintainedVersionOnDefaultBranch bool
}

Config is a complete set of app configuration

func NewConfig

func NewConfig(cmd *cobra.Command) (*Config, error)

Jump to

Keyboard shortcuts

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