Help us shape the future of Go! Take the 2026 Go Developer Survey

commands

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package commands contain the commands for the cli

Index

Constants

This section is empty.

Variables

View Source
var ErrNoTags = errors.New("no versioned releases found, check the output of `git tag`")

ErrNoTags happens when a repository has no tags.

View Source
var ErrTemplateFlags = errors.New("--template and --template-file are mutually exclusive")

ErrTemplateFlags occurs when the user tries to use both --template and --template-file flags.

Functions

func AddCmd added in v0.4.1

func AddCmd(config *viper.Viper) (cmd *cobra.Command)

nolint: gocognit, funlen, gocritic

func ConfigCmd added in v0.4.1

func ConfigCmd(config *viper.Viper) (cmd *cobra.Command)

func FormatCmd added in v0.4.1

func FormatCmd(config *viper.Viper) (cmd *cobra.Command)

nolint: funlen, gocritic

func InitCmd added in v0.4.1

func InitCmd(config *viper.Viper) (cmd *cobra.Command)

func VersionCmd added in v0.4.1

func VersionCmd(config *viper.Viper) (cmd *cobra.Command)

Types

This section is empty.

Jump to

Keyboard shortcuts

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