Skip to content

Commit f66c41c

Browse files
committed
chore(account): mark login command as experimental
1 parent b806ea3 commit f66c41c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/commands/account/login.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func LoginCommand() commands.Command {
1616
return &loginCommand{
1717
BaseCommand: commands.New(
1818
"login",
19-
"Configure an authentication token to the system keyring.",
19+
"Configure an authentication token to the system keyring (EXPERIMENTAL) ",
2020
"upctl account login --with-token",
2121
),
2222
}
@@ -59,7 +59,7 @@ func (s *loginCommand) executeWithToken(exec commands.Executor) (output.Output,
5959

6060
msg := "Saving provided token to the system keyring."
6161
exec.PushProgressStarted(msg)
62-
err = config.SaveToken(strings.TrimSpace(token))
62+
err = config.SaveTokenToKeyring(strings.TrimSpace(token))
6363
if err != nil {
6464
return commands.HandleError(exec, msg, err)
6565
}

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func GetVersion() string {
249249
return version
250250
}
251251

252-
func SaveToken(token string) error {
252+
func SaveTokenToKeyring(token string) error {
253253
return keyring.Set(keyringServiceName, "", token)
254254
}
255255

0 commit comments

Comments
 (0)