New 🌊 wave for @helm

Commit cddf47c4

cddf47c40022Merged

zhilyaev <[email protected]> · 5 years ago · 16 files · +2 added · ~6 modified · -8 deleted

Description

WIP: 5

Details

Commit
cddf47c40022
Parent
09f3d9548f23

cmd/helmwave/diff.godeleted

1-package main
2-
3-import (
4- "github.com/helmwave/helmwave/pkg/action"
5- "github.com/urfave/cli/v2"
6-)
7-
8-var aDiff = &action.Diff{}
9-
10-var diff = &cli.Command{
11- Name: "diff",
12- Usage: "📜 Diff 2 plans",
13- Flags: []cli.Flag{
14- &cli.StringFlag{
15- Name: "plan B",
16- Value: ".helmwave/",
17- Usage: "Path to plandir A",
18- EnvVars: []string{"HELMWAVE_PLANDIR_A", "HELMWAVE_PLANDIR"},
19- Destination: &aDiff.Plandir1,
20- },
21- &cli.StringFlag{
22- Name: "plan A",
23- Usage: "Path to plandir B",
24- EnvVars: []string{"HELMWAVE_PLANDIR_B"},
25- Destination: &aDiff.Plandir1,
26- },
27- },
28- Action: toCtx(aDiff.Run),
29-}