{"action":"created","issue":{"url":"https://api.github.com/repos/rackerlabs/carina/issues/32","labels_url":"https://api.github.com/repos/rackerlabs/carina/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/rackerlabs/carina/issues/32/comments","events_url":"https://api.github.com/repos/rackerlabs/carina/issues/32/events","html_url":"https://github.com/rackerlabs/carina/issues/32","id":112059875,"number":32,"title":"Perform usability testing on credentials download","user":{"login":"rgbkrk","id":836375,"avatar_url":"https://avatars.githubusercontent.com/u/836375?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbkrk","html_url":"https://github.com/rgbkrk","followers_url":"https://api.github.com/users/rgbkrk/followers","following_url":"https://api.github.com/users/rgbkrk/following{/other_user}","gists_url":"https://api.github.com/users/rgbkrk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbkrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbkrk/subscriptions","organizations_url":"https://api.github.com/users/rgbkrk/orgs","repos_url":"https://api.github.com/users/rgbkrk/repos","events_url":"https://api.github.com/users/rgbkrk/events{/privacy}","received_events_url":"https://api.github.com/users/rgbkrk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-19T02:22:42Z","updated_at":"2015-10-20T02:35:51Z","closed_at":null,"body":"Personally, I'm a bit annoyed with the structure I have laid out for credentials for accounts with Carina and that `carina` doesn't natively know how I have it set up. It may make sense to integrate properly with docker machine (though we'll still have `grow` and some commands separately in this cli). That would, at the very least, mean credentials get dumped in exactly one place.\r\n\r\nIn lieu of that, I would at least like to figure out what the right name for this command is and what the default experience should be. It's pretty slick right now, but I can tell it's... not quite what we want."},"comment":{"url":"https://api.github.com/repos/rackerlabs/carina/issues/comments/149409674","html_url":"https://github.com/rackerlabs/carina/issues/32#issuecomment-149409674","issue_url":"https://api.github.com/repos/rackerlabs/carina/issues/32","id":149409674,"user":{"login":"rgbkrk","id":836375,"avatar_url":"https://avatars.githubusercontent.com/u/836375?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbkrk","html_url":"https://github.com/rgbkrk","followers_url":"https://api.github.com/users/rgbkrk/followers","following_url":"https://api.github.com/users/rgbkrk/following{/other_user}","gists_url":"https://api.github.com/users/rgbkrk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbkrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbkrk/subscriptions","organizations_url":"https://api.github.com/users/rgbkrk/orgs","repos_url":"https://api.github.com/users/rgbkrk/repos","events_url":"https://api.github.com/users/rgbkrk/events{/privacy}","received_events_url":"https://api.github.com/users/rgbkrk/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T02:35:51Z","updated_at":"2015-10-20T02:35:51Z","body":"Ok, went back to this since I wasn't sure what prevented me from including the args directly here. It was because the path specified by users might have spaces in them, which we'd have to escape. If I go ahead and escape most of them, it works just fine:\r\n\r\n```\r\n$ eval \"$( carina credentials tmpnbtrial --path ~/tmp )\"\r\n21:33:12 {sourcery *} kyle6475@lack ~/code/src/github.com/rackerlabs/carina$ carina credentials tmpnbtrial --path ~/tmp\r\n#\r\n# Credentials written to /Users/kyle6475/tmp/\r\n#\r\nsource \"/Users/kyle6475/tmp/docker.env\"\r\n# Run the command above or eval a subshell like so\r\n#   eval \"$( carina \"credentials\" \"tmpnbtrial\" \"--path\" \"/Users/kyle6475/tmp\" )\"\r\n```"}}