Skip to content

Commit cc21af8

Browse files
authored
Merge pull request #10 from fujiwara/format-env
add ECRM_FORMAT env
2 parents b06f0b2 + 35f0c02 commit cc21af8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

cli.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ func (app *App) NewPlanCommand() *cli.Command {
4444
EnvVars: []string{"ECRM_REPOSITORY"},
4545
},
4646
&cli.StringFlag{
47-
Name: "format",
48-
Value: "table",
49-
Usage: "plan output format (table, json)",
47+
Name: "format",
48+
Value: "table",
49+
Usage: "plan output format (table, json)",
50+
EnvVars: []string{"ECRM_FORMAT"},
5051
},
5152
},
5253
Action: func(c *cli.Context) error {

0 commit comments

Comments
 (0)