{"action":"opened","issue":{"url":"https://api.github.com/repos/zeit/now-client/issues/59","repository_url":"https://api.github.com/repos/zeit/now-client","labels_url":"https://api.github.com/repos/zeit/now-client/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/zeit/now-client/issues/59/comments","events_url":"https://api.github.com/repos/zeit/now-client/issues/59/events","html_url":"https://github.com/zeit/now-client/issues/59","id":211947822,"number":59,"title":"Why is --alias option in deploy command deprecated?","user":{"login":"arturmuller","id":3978227,"avatar_url":"https://avatars1.githubusercontent.com/u/3978227?v=3","gravatar_id":"","url":"https://api.github.com/users/arturmuller","html_url":"https://github.com/arturmuller","followers_url":"https://api.github.com/users/arturmuller/followers","following_url":"https://api.github.com/users/arturmuller/following{/other_user}","gists_url":"https://api.github.com/users/arturmuller/gists{/gist_id}","starred_url":"https://api.github.com/users/arturmuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturmuller/subscriptions","organizations_url":"https://api.github.com/users/arturmuller/orgs","repos_url":"https://api.github.com/users/arturmuller/repos","events_url":"https://api.github.com/users/arturmuller/events{/privacy}","received_events_url":"https://api.github.com/users/arturmuller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-05T11:53:35Z","updated_at":"2017-03-05T11:53:35Z","closed_at":null,"body":"Hey there.\r\n\r\nI'm curious why the `--alias` option for the `deploy` command is deprecated?\r\n\r\nI understand that it is possible to set aliases through `now.json` now, but to me, these are separate use-cases. Aliasing through the `deploy` command is very handy if you're just trying something out and want to alias it to a different location than the \"usual\" alias (which would be in `now.json`)\r\n\r\n```sh\r\n# Use case for now.json: \r\n# Deploy to the \"usual\" alias:\r\n\r\nnow && now alias\r\n\r\n# Use case for \"experimenting\" alias\r\n\r\n# Much more convenient to run this:\r\nnow --alias foobar\r\n\r\n# Than it is to run:\r\nnow\r\n# ...wait until done...\r\nnow alias 09duoix0u foobar\r\n\r\n# ...or editing now.json\r\n```\r\n\r\nI am new to now, so maybe I am doing it all wrong...  🙃 I'd just like to understand the thinking behind the decision to deprecate the command.\r\n\r\nThank you!"}}
{"actor":{"display_login":"arturmuller"}}