{"action":"created","issue":{"url":"https://api.github.com/repos/claudiajs/claudia/issues/20","repository_url":"https://api.github.com/repos/claudiajs/claudia","labels_url":"https://api.github.com/repos/claudiajs/claudia/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/claudiajs/claudia/issues/20/comments","events_url":"https://api.github.com/repos/claudiajs/claudia/issues/20/events","html_url":"https://github.com/claudiajs/claudia/issues/20","id":138466605,"number":20,"title":"add-scheduled-event --schedule parameter can not be parsed in Windows","user":{"login":"philltomlinson","id":6190209,"avatar_url":"https://avatars.githubusercontent.com/u/6190209?v=3","gravatar_id":"","url":"https://api.github.com/users/philltomlinson","html_url":"https://github.com/philltomlinson","followers_url":"https://api.github.com/users/philltomlinson/followers","following_url":"https://api.github.com/users/philltomlinson/following{/other_user}","gists_url":"https://api.github.com/users/philltomlinson/gists{/gist_id}","starred_url":"https://api.github.com/users/philltomlinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philltomlinson/subscriptions","organizations_url":"https://api.github.com/users/philltomlinson/orgs","repos_url":"https://api.github.com/users/philltomlinson/repos","events_url":"https://api.github.com/users/philltomlinson/events{/privacy}","received_events_url":"https://api.github.com/users/philltomlinson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T12:44:29Z","updated_at":"2016-03-04T14:21:31Z","closed_at":"2016-03-04T14:21:31Z","body":"When using a windows machine the command to create a lambda scheduled event does not work. If the following is run:\r\n\r\n`claudia add-scheduled-event --event test.json --name website-alerts --schedule 'rate(5 minutes)'`\r\n\r\nThe following error is displayed as windows does not deal with the curly brackets:\r\n\r\n`' was unexpected at this time.`\r\n\r\nUsing ^ escape characters works and windows validates the command but then the AWS service returns with an error that the schedule expression is invalid.\r\n\r\nIt would be ideal if the --schedule option could be read from the claudia.json file at runtime. Therefore windows users would not need to pass the brackets on the command line."},"comment":{"url":"https://api.github.com/repos/claudiajs/claudia/issues/comments/192299222","html_url":"https://github.com/claudiajs/claudia/issues/20#issuecomment-192299222","issue_url":"https://api.github.com/repos/claudiajs/claudia/issues/20","id":192299222,"user":{"login":"gojko","id":38767,"avatar_url":"https://avatars.githubusercontent.com/u/38767?v=3","gravatar_id":"","url":"https://api.github.com/users/gojko","html_url":"https://github.com/gojko","followers_url":"https://api.github.com/users/gojko/followers","following_url":"https://api.github.com/users/gojko/following{/other_user}","gists_url":"https://api.github.com/users/gojko/gists{/gist_id}","starred_url":"https://api.github.com/users/gojko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gojko/subscriptions","organizations_url":"https://api.github.com/users/gojko/orgs","repos_url":"https://api.github.com/users/gojko/repos","events_url":"https://api.github.com/users/gojko/events{/privacy}","received_events_url":"https://api.github.com/users/gojko/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T14:21:31Z","updated_at":"2016-03-04T14:21:31Z","body":"`claudia.json` is not a good solution here because people should be able to add multiple events to multiple versions. I've added the `--rate` option that allows you to specify the rate without the brackets instead of `--schedule`. So it would be something like \r\n\r\n```bash\r\nclaudia add-scheduled-event --event test.json --name website-alerts --rate \"5 minutes\"\r\n```\r\n\r\nI assume this will enable windows to parse the argument.  The new version 1.0.11 is on NPM now.\r\n\r\n"}}