forked from toolshed/abra
		
	feat: run wizard mode on recipe upgrade [ci skip]
This commit is contained in:
		| @ -36,6 +36,11 @@ update the relevant compose file tags on the local file system. | ||||
| Some image tags cannot be parsed because they do not follow some sort of | ||||
| semver-like convention. In this case, all possible tags will be listed and it | ||||
| is up to the end-user to decide. | ||||
|  | ||||
| You may invoke this command in "wizard" mode and be prompted for input: | ||||
|  | ||||
|     abra recipe upgrade | ||||
|  | ||||
| `, | ||||
| 	ArgsUsage: "<recipe>", | ||||
| 	Flags: []cli.Flag{ | ||||
| @ -44,7 +49,7 @@ is up to the end-user to decide. | ||||
| 		internal.MajorFlag, | ||||
| 	}, | ||||
| 	Action: func(c *cli.Context) error { | ||||
| 		recipe := internal.ValidateRecipe(c) | ||||
| 		recipe := internal.ValidateRecipeWithPrompt(c) | ||||
|  | ||||
| 		bumpType := btoi(internal.Major)*4 + btoi(internal.Minor)*2 + btoi(internal.Patch) | ||||
| 		if bumpType != 0 { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user