New 🌊 wave for @helm

Commit 28d8d96e

28d8d96e5f52Merged

zhilyaev <[email protected]> · 6 years ago · 15 files · +1 added · ~14 modified

Description

WIP: 0.4.0

Details

Commit
28d8d96e5f52
Parent
c633ecad18a6

cmd/helmwave/flags.gomodifiedView file

@@ -37,19 +37,25 @@
3737 Destination: &app.Tags,
3838 },
3939 &cli.BoolFlag{
40- Name: "debug",
41- Usage: "Debug helmwave",
42- Aliases: []string{"d"},
43- Value: false,
44- EnvVars: []string{"HELMWAVE_DEBUG"},
45- Destination: &app.Debug,
46- },
47- &cli.BoolFlag{
4840 Name: "parallel",
4941 Usage: "Parallel mode",
5042 Value: true,
5143 EnvVars: []string{"HELMWAVE_PARALLEL"},
5244 Destination: &app.Parallel,
5345 },
46+ &cli.StringFlag{
47+ Name: "log-format",
48+ Usage: "You can set 'text' or 'json'",
49+ Value: "text",
50+ EnvVars: []string{"HELMWAVE_LOG_FORMAT"},
51+ Destination: &app.Logger.Format,
52+ },
53+ &cli.StringFlag{
54+ Name: "log-level",
55+ Usage: "You can set 'debug' or 'info' or 'warning' or 'panic' or 'fatal'",
56+ Value: "info",
57+ EnvVars: []string{"HELMWAVE_LOG_LEVEL", "HELMWAVE_LOG_LVL"},
58+ Destination: &app.Logger.Level,
59+ },
5460 }
5561 }