Exemplo n.º 1
0
func Router(cmd *cobra.Command, args []string) {
	switch {
	case do.Yes:
		do.Services = true
		do.Actions = true
	case do.All:
		do.Services = true
		do.Actions = true
		do.Tool = true
	}

	if do.Tool {
		util.UpdateEris(do.Branch)

		if !do.All {
			return
		}
	}

	ini.Initialize(do)
}
Exemplo n.º 2
0
func UpdateTool(cmd *cobra.Command, args []string) {
	util.UpdateEris(do.Branch)

}
Exemplo n.º 3
0
func UpdateTool(cmd *cobra.Command, args []string) {
	util.UpdateEris(do.Branch, true, true)
	initialize.Initialize(do)
}