cmd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   string
	BuildTime string
	CommitID  string
)
View Source
var RootCmd = &cobra.Command{
	Use:   "gitflow-toolkit",
	Short: "Git Flow 辅助工具",
	Long: `
一个用于 CI/CD 实施的 Git Flow 辅助工具`,
	Run: func(cmd *cobra.Command, args []string) {
		_ = cmd.Help()
	},
}

Functions

func NewChoreBranch added in v1.0.2

func NewChoreBranch() *cobra.Command

Create chore branch

func NewCi

func NewCi() *cobra.Command

func NewCm

func NewCm() *cobra.Command

func NewDocsBranch added in v1.0.2

func NewDocsBranch() *cobra.Command

Create docs branch

func NewFeatBranch added in v1.0.2

func NewFeatBranch() *cobra.Command

Create feature branch

func NewFixBranch added in v1.0.2

func NewFixBranch() *cobra.Command

Create fix branch

func NewHotFixBranch added in v1.0.2

func NewHotFixBranch() *cobra.Command

Create hotfix branch

func NewInstall

func NewInstall() *cobra.Command

func NewPerfBranch added in v1.0.2

func NewPerfBranch() *cobra.Command

Create perf branch

func NewPs added in v0.0.2

func NewPs() *cobra.Command

Push local branch to remote git server

func NewRefactorBranch added in v1.0.2

func NewRefactorBranch() *cobra.Command

Create refactor branch

func NewStyleBranch added in v1.0.2

func NewStyleBranch() *cobra.Command

Create style branch

func NewTestBranch added in v1.0.2

func NewTestBranch() *cobra.Command

Create test branch

func NewUninstall

func NewUninstall() *cobra.Command

func NewVersion added in v1.0.2

func NewVersion() *cobra.Command

Print toolkit version

Types

This section is empty.

Jump to

Keyboard shortcuts

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