{"action":"created","issue":{"url":"https://api.github.com/repos/jaws-stack/JAWS-cli/issues/1","labels_url":"https://api.github.com/repos/jaws-stack/JAWS-cli/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jaws-stack/JAWS-cli/issues/1/comments","events_url":"https://api.github.com/repos/jaws-stack/JAWS-cli/issues/1/events","html_url":"https://github.com/jaws-stack/JAWS-cli/issues/1","id":99946707,"number":1,"title":"JAWS CLI: Re-Design","user":{"login":"ac360","id":2752551,"avatar_url":"https://avatars.githubusercontent.com/u/2752551?v=3","gravatar_id":"","url":"https://api.github.com/users/ac360","html_url":"https://github.com/ac360","followers_url":"https://api.github.com/users/ac360/followers","following_url":"https://api.github.com/users/ac360/following{/other_user}","gists_url":"https://api.github.com/users/ac360/gists{/gist_id}","starred_url":"https://api.github.com/users/ac360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ac360/subscriptions","organizations_url":"https://api.github.com/users/ac360/orgs","repos_url":"https://api.github.com/users/ac360/repos","events_url":"https://api.github.com/users/ac360/events{/privacy}","received_events_url":"https://api.github.com/users/ac360/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-10T01:14:59Z","updated_at":"2015-08-10T01:32:52Z","closed_at":null,"body":"**This thread is for discussing a redesign of the JAWS CLI**\r\n\r\nA nice JAWS-cli could make all of the difference for JAWS.  Here are thoughts for redesigning the JAWS-cli commands:\r\n\r\n#### `$ init`\r\nDownloads the latest version of JAWS into the current working directory.  Could take some config options here, like `--name` or `--regions`.\r\n\r\n#### `$ new`\r\nCreates a new Lambda function.  Could also scaffold other components...\r\n\r\n#### `$ run`\r\nRuns the lambda function in the current working directory.  By default, this should run it locally.  Could allow option to run the same Lambda in different environments `$ run -e staging`.\r\n\r\n#### `$ deploy -e staging`\r\nDeploys the lambda function in the current working directory to the specified environment `$ deploy -e staging`.\r\n\r\n#### `$ routes`\r\nTraverses the Swagger JSON and lists routes.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jaws-stack/JAWS-cli/issues/comments/129269407","html_url":"https://github.com/jaws-stack/JAWS-cli/issues/1#issuecomment-129269407","issue_url":"https://api.github.com/repos/jaws-stack/JAWS-cli/issues/1","id":129269407,"user":{"login":"ac360","id":2752551,"avatar_url":"https://avatars.githubusercontent.com/u/2752551?v=3","gravatar_id":"","url":"https://api.github.com/users/ac360","html_url":"https://github.com/ac360","followers_url":"https://api.github.com/users/ac360/followers","following_url":"https://api.github.com/users/ac360/following{/other_user}","gists_url":"https://api.github.com/users/ac360/gists{/gist_id}","starred_url":"https://api.github.com/users/ac360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ac360/subscriptions","organizations_url":"https://api.github.com/users/ac360/orgs","repos_url":"https://api.github.com/users/ac360/repos","events_url":"https://api.github.com/users/ac360/events{/privacy}","received_events_url":"https://api.github.com/users/ac360/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T01:32:52Z","updated_at":"2015-08-10T01:32:52Z","body":"Updated."}}