{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/2282","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/2282/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/2282/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/2282/events","html_url":"https://github.com/serverless/serverless/issues/2282","id":181826908,"number":2282,"title":"Unrecognized CLI options are silently ignored","user":{"login":"kennu","id":13944,"avatar_url":"https://avatars.githubusercontent.com/u/13944?v=3","gravatar_id":"","url":"https://api.github.com/users/kennu","html_url":"https://github.com/kennu","followers_url":"https://api.github.com/users/kennu/followers","following_url":"https://api.github.com/users/kennu/following{/other_user}","gists_url":"https://api.github.com/users/kennu/gists{/gist_id}","starred_url":"https://api.github.com/users/kennu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennu/subscriptions","organizations_url":"https://api.github.com/users/kennu/orgs","repos_url":"https://api.github.com/users/kennu/repos","events_url":"https://api.github.com/users/kennu/events{/privacy}","received_events_url":"https://api.github.com/users/kennu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-08T13:44:41Z","updated_at":"2016-10-28T08:16:44Z","closed_at":null,"body":"# This is a Bug Report\r\n\r\n## Description\r\n\r\nThe Serverless command line appears to silently ignore unrecognized options, causing confusion and potentially dangerous results.\r\n\r\nIt should instead show an error message and abort the command when an unsupported/invalid option is specified.\r\n\r\nExample case in #1787: Serverless silently ignores any --profile option, so deployment goes to the default profile, which could be any random AWS account."},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/256862985","html_url":"https://github.com/serverless/serverless/issues/2282#issuecomment-256862985","issue_url":"https://api.github.com/repos/serverless/serverless/issues/2282","id":256862985,"user":{"login":"mthenw","id":455261,"avatar_url":"https://avatars.githubusercontent.com/u/455261?v=3","gravatar_id":"","url":"https://api.github.com/users/mthenw","html_url":"https://github.com/mthenw","followers_url":"https://api.github.com/users/mthenw/followers","following_url":"https://api.github.com/users/mthenw/following{/other_user}","gists_url":"https://api.github.com/users/mthenw/gists{/gist_id}","starred_url":"https://api.github.com/users/mthenw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mthenw/subscriptions","organizations_url":"https://api.github.com/users/mthenw/orgs","repos_url":"https://api.github.com/users/mthenw/repos","events_url":"https://api.github.com/users/mthenw/events{/privacy}","received_events_url":"https://api.github.com/users/mthenw/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T08:16:44Z","updated_at":"2016-10-28T08:16:44Z","body":"@eahefnawy answering your comment from https://github.com/serverless/serverless/issues/2550#issuecomment-256862189. IMHO we should provide additional delimiter for custom Serverless Variables. `--` similar to npm and other tools\r\n\r\n```\r\nserverless deploy -v -- --customOpt\r\n```\r\n\r\nThat way we can validate cli params and support custom options for Serverless Variables."}}
{"actor":{"display_login":"mthenw"}}