Documentation
¶
Index ¶
- Constants
- func About() string
- func Changelog(params ChangelogParams, gitw *git.Repository) string
- func CommmitMsg(args []string)
- func Initialize(init_globally bool)
- func Version(params ActionVersionParams, gitw *git.Repository) types.TagName
- type ActionVersionParams
- type ChangelogParams
- type GitActions
- type VersionParams
Constants ¶
View Source
const (
InitAdvice string = "activate commit msg hook with `autogit hook activate [--global]`"
)
Variables ¶
This section is empty.
Functions ¶
func Changelog ¶
func Changelog(params ChangelogParams, gitw *git.Repository) string
func CommmitMsg ¶
func CommmitMsg(args []string)
func Initialize ¶
func Initialize(init_globally bool)
func Version ¶
func Version(params ActionVersionParams, gitw *git.Repository) types.TagName
gitw - git.NewRepoInWorkDir() for cmd we can overrise with git in memory
Types ¶
type ActionVersionParams ¶
type ActionVersionParams struct {
VersionParams
GitActions
}
func (*ActionVersionParams) Bind ¶
func (v *ActionVersionParams) Bind(cmd *cobra.Command)
type ChangelogParams ¶
type ChangelogParams struct {
VersionParams
Tag string
Validate bool
Format string
}
func (*ChangelogParams) Bind ¶
func (v *ChangelogParams) Bind(cmd *cobra.Command)
type GitActions ¶
type VersionParams ¶
type VersionParams struct {
semvertype.OptionsSemVer
}
func (*VersionParams) Bind ¶
func (v *VersionParams) Bind(cmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.