feat: define recipe version inside app env file

This commit is contained in:
2024-07-08 17:11:15 +02:00
parent 790dbca362
commit 4085eb6654
11 changed files with 81 additions and 53 deletions

View File

@ -50,6 +50,10 @@ And if you want to copy that file back to your current working directory locally
Action: func(c *cli.Context) error {
app := internal.ValidateApp(c)
if err := app.Recipe.Ensure(internal.Chaos, internal.Offline); err != nil {
log.Fatal(err)
}
src := c.Args().Get(1)
dst := c.Args().Get(2)
if src == "" {