mirror of
https://gitlab.durp.info/durfy/apps/durpcli.git
synced 2026-05-07 07:50:35 -05:00
update
This commit is contained in:
parent
125e0dc9cf
commit
bc2c67b951
6 changed files with 48 additions and 4 deletions
|
|
@ -8,6 +8,7 @@ import (
|
|||
"os/user"
|
||||
|
||||
"github.com/cli/oauth/device"
|
||||
"github.com/dreamsofcode-io/terminal-ui/spinner"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
"github.com/zalando/go-keyring"
|
||||
|
|
@ -21,7 +22,10 @@ var loginCmd = &cobra.Command{
|
|||
if clientID == "" {
|
||||
clientID = viper.GetViper().GetString("auth.clientID")
|
||||
}
|
||||
s := spinner.New(spinner.Config{})
|
||||
s.Start()
|
||||
login(clientID)
|
||||
s.Stop()
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue