Skip to content

Commit

Permalink
Merge pull request #10 from fujiwara/format-env
Browse files Browse the repository at this point in the history
add ECRM_FORMAT env
  • Loading branch information
fujiwara authored Aug 31, 2022
2 parents b06f0b2 + 35f0c02 commit cc21af8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ func (app *App) NewPlanCommand() *cli.Command {
EnvVars: []string{"ECRM_REPOSITORY"},
},
&cli.StringFlag{
Name: "format",
Value: "table",
Usage: "plan output format (table, json)",
Name: "format",
Value: "table",
Usage: "plan output format (table, json)",
EnvVars: []string{"ECRM_FORMAT"},
},
},
Action: func(c *cli.Context) error {
Expand Down

0 comments on commit cc21af8

Please sign in to comment.