Skip to content

Commit 79afdba

Browse files
authored
chore: move ACTIVE column to the right of NAME (#26)
1 parent a1d670e commit 79afdba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/auth_list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ var authListCmd = &cobra.Command{
3535
}
3636

3737
w := newTableWriter(cmd.OutOrStdout())
38-
fmt.Fprintln(w, "NAME\tAPI KEY\tACTIVE")
38+
fmt.Fprintln(w, "NAME\tACTIVE\tAPI KEY\t")
3939
for _, e := range entries {
4040
active := ""
4141
if e.Name == activeTeam {
4242
active = "*"
4343
}
44-
fmt.Fprintf(w, "%s\t%s\t%s\n", e.Name, maskKey(e.APIKey), active)
44+
fmt.Fprintf(w, "%s\t%s\t%s\n", e.Name, active, maskKey(e.APIKey))
4545
}
4646
return w.Flush()
4747
},

0 commit comments

Comments
 (0)