Skip to content

Commit a6439d2

Browse files
authored
fix(auth): print token to stdout on get-access-token cmd (#669)
relates to STACKITCLI-175 / #653
1 parent 7e2f057 commit a6439d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/auth/get-access-token/get_access_token.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
4242
return &cliErr.AccessTokenExpiredError{}
4343
}
4444

45-
p.Info("%s\n", accessToken)
45+
p.Outputf("%s\n", accessToken)
4646
return nil
4747
},
4848
}

0 commit comments

Comments
 (0)