Skip to content

Commit

Permalink
Updated type column for outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Dec 23, 2021
1 parent 5a86061 commit 4797c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (a *Action) renderOutput() error {
}

outputTable := tablewriter.NewWriter(outputTableOutput)
outputTable.SetHeader([]string{"Output", "Description", "Type"})
outputTable.SetHeader([]string{"Output", "Type", "Description"})
outputTable.SetBorders(tablewriter.Border{Left: true, Top: false, Right: true, Bottom: false})
outputTable.SetCenterSeparator("|")

Expand All @@ -140,7 +140,7 @@ func (a *Action) renderOutput() error {

outputTable.SetColWidth(maxWidth)
for _, key := range keys {
row := []string{key, a.Outputs[key].Description, "string"}
row := []string{key, "string", a.Outputs[key].Description}
outputTable.Append(row)
}

Expand Down

0 comments on commit 4797c6f

Please sign in to comment.