如何从触发器命令行工具包注销

时间:2015-02-01 19:44:47

标签: trigger.io

如何退出命令行工具包?

我在测试trigger.io时首先使用了命令行工具包。我使用私人邮件帐户登录命令行工具包。现在我在我公司的邮件帐户上设置了一个trigger.io帐户。在Web工具包中,我可以毫无问题地在帐户之间切换,但工具包似乎停留在第一个帐户中。

我一直收到这样的错误:

$HOME/Library/Trigger\ Toolkit/forge --username *** --password **** build ios
[   INFO] Forge tools running at version 3.3.83
[   INFO] Update result: you already have the latest tools
[  ERROR] Forge API call to app/1e44d7acaa4711e4bca212313b0234c0/should_fetch_core_instructions went wrong: Unknown error

如果我运行create命令,我只会从试用电子邮件帐户中看到projectId。

$HOME/Library/Trigger\ Toolkit/forge --username **** --password **** create -v
[   INFO] Forge tools running at version 3.3.83
[  DEBUG] Checking for update zip...
[  DEBUG] Forge build tools version: 3.3.83
[  DEBUG] main: {"server": "https://trigger.io/api/"}
[  DEBUG] port: 38394
[  DEBUG] GET https://trigger.io/api/v1/version_check/3/3/83/
[  DEBUG] Checking API response for success or error
[   INFO] Update result: you already have the latest tools
[  DEBUG] GET https://trigger.io/api/v1/auth/loggedin
[  DEBUG] Checking API response for success or error
[  DEBUG] already authenticated via cookie - continuing
[  DEBUG] GET https://trigger.io/api/v1/project
[  DEBUG] Checking API response for success or error

Choose the project ID for your app:
XXXX    TestTrigger

Project ID: 

它看起来完全忽略了用户名/密码参数并将我登录,因为我已经通过cookie验证了

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,并询问了Trigger.io的支持。他们只需要几分钟的时间来回应,解决方案非常简单:

  

退出您自己的帐户。您可以通过Toolkit或   删除以下文件:

     

<trigger toolkit location>/build-tools/cookies.txt

在OSX上,此文件位于:

$HOME/Library/Trigger\ Toolkit/build-tools/cookies.txt