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