{"action":"opened","issue":{"url":"https://api.github.com/repos/heroku/cli/issues/307","repository_url":"https://api.github.com/repos/heroku/cli","labels_url":"https://api.github.com/repos/heroku/cli/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/heroku/cli/issues/307/comments","events_url":"https://api.github.com/repos/heroku/cli/issues/307/events","html_url":"https://github.com/heroku/cli/issues/307","id":168400871,"number":307,"title":"apps:info with app argument (rather than app flag) fails on paranoid apps","user":{"login":"uhoh-itsmaciek","id":159100,"avatar_url":"https://avatars.githubusercontent.com/u/159100?v=3","gravatar_id":"","url":"https://api.github.com/users/uhoh-itsmaciek","html_url":"https://github.com/uhoh-itsmaciek","followers_url":"https://api.github.com/users/uhoh-itsmaciek/followers","following_url":"https://api.github.com/users/uhoh-itsmaciek/following{/other_user}","gists_url":"https://api.github.com/users/uhoh-itsmaciek/gists{/gist_id}","starred_url":"https://api.github.com/users/uhoh-itsmaciek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uhoh-itsmaciek/subscriptions","organizations_url":"https://api.github.com/users/uhoh-itsmaciek/orgs","repos_url":"https://api.github.com/users/uhoh-itsmaciek/repos","events_url":"https://api.github.com/users/uhoh-itsmaciek/events{/privacy}","received_events_url":"https://api.github.com/users/uhoh-itsmaciek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-29T19:50:50Z","updated_at":"2016-07-29T19:50:50Z","closed_at":null,"body":"This is minor, but thought I'd log it anyway: It looks like `apps:info` appears to accept an argument as the app, in addition to supporting the `--app` flag:\r\n\r\n```console\r\nmaciek@mothra:~$ heroku apps:info shogun-maciek\r\n=== shogun-maciek\r\nAddons:        heroku-postgresql:standard-2\r\n               ...\r\n```\r\n\r\nHowever, this fails in an odd way with paranoid apps:\r\n\r\n```console\r\nmaciek@mothra:~$ heroku apps:info shogun\r\nTwo-factor code: ********************************************\r\n ▸    The requested API endpoint was not found. Are you using the right HTTP verb (i.e. `GET` vs. `POST`), and did you specify your intended version with the `Accept` header?\r\n```\r\n\r\nRunning preauth works around this:\r\n\r\n```console\r\nmaciek@mothra:~$ heroku preauth -a shogun\r\nTwo-factor code: ********************************************\r\nmaciek@mothra:~$ heroku apps:info shogun\r\n=== shogun\r\nAddons:        heroku-postgresql:standard-2\r\n               ...\r\n```"}}
{"actor":{"display_login":"uhoh-itsmaciek"}}