mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Feat: CLI Integration tests
This commit is contained in:
@@ -191,6 +191,10 @@ var loginCmd = &cobra.Command{
|
||||
util.HandleError(err)
|
||||
}
|
||||
|
||||
if util.IS_TEST_MODE {
|
||||
util.HandleSendUniversalAuthToken(cmd, res.AccessToken)
|
||||
return
|
||||
}
|
||||
if plainOutput {
|
||||
fmt.Println(res.AccessToken)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user