Feat: CLI Integration tests

This commit is contained in:
Daniel Hougaard
2024-04-18 14:58:59 +02:00
parent cb6cbafcae
commit d31d98b5e0

View File

@@ -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