Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ecba6d

Browse files
committed
Add mask for session token prompt
1 parent0a43941 commit5ecba6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎cli/login.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ func login() *cobra.Command {
144144

145145
apiKey,err:=prompt(cmd,&promptui.Prompt{
146146
Label:"Paste your token here:",
147+
Mask:'*',
147148
Validate:func(tokenstring)error {
148149
client.SessionToken=token
149150
_,err:=client.User(cmd.Context(),"me")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp