- I wrote a scripts to copy and generate all commands missing in iris from fig repo: https://github.com/withfig/autocomplete - Add a new script to generate commands docs about which commands currently are inside commands folder 377d4aac663590e504fe39a92eb4dac4cbd333b2 - Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
30 lines
1.3 KiB
Go
30 lines
1.3 KiB
Go
package git
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "git-flow",
|
|
Description: "Git extensions to provide high-level repository operations for Vincent Driessen's branching model",
|
|
Subcommands: []core.Subcommand{
|
|
{Name: "init", Description: "Initialize a new git repo with support for the branching model"},
|
|
{Name: "feature", Description: "List all feature branches"},
|
|
{Name: "start", Description: "Create a new feature branch"},
|
|
{Name: "name", Description: "The name of the new feature branch"},
|
|
{Name: "finish", Description: "Merge a feature branch into develop"},
|
|
{Name: "publish", Description: "Push a feature branch to the remote repository"},
|
|
{Name: "pull", Description: "Pull a feature branch from the remote repository"},
|
|
{Name: "origin", Description: "The name of the remote feature branch"},
|
|
{Name: "release", Description: "List all release branches"},
|
|
{Name: "hotfix", Description: "List all hotfix branches"},
|
|
{Name: "support", Description: "List all support branches"},
|
|
},
|
|
Options: []core.Option{
|
|
{Name: "-d", Description: "Use default branch naming conventions"},
|
|
{Name: "-f", Description: "Force setting of gitflow branches, even if already configured"},
|
|
},
|
|
})
|
|
}
|