{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/1055","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/1055/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/1055/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/1055/events","html_url":"https://github.com/serverless/serverless/issues/1055","id":151431124,"number":1055,"title":"Function code generation, minus deployment","user":{"login":"allenhartwig","id":1261521,"avatar_url":"https://avatars.githubusercontent.com/u/1261521?v=3","gravatar_id":"","url":"https://api.github.com/users/allenhartwig","html_url":"https://github.com/allenhartwig","followers_url":"https://api.github.com/users/allenhartwig/followers","following_url":"https://api.github.com/users/allenhartwig/following{/other_user}","gists_url":"https://api.github.com/users/allenhartwig/gists{/gist_id}","starred_url":"https://api.github.com/users/allenhartwig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenhartwig/subscriptions","organizations_url":"https://api.github.com/users/allenhartwig/orgs","repos_url":"https://api.github.com/users/allenhartwig/repos","events_url":"https://api.github.com/users/allenhartwig/events{/privacy}","received_events_url":"https://api.github.com/users/allenhartwig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serverless/serverless/labels/effort:%20hard","name":"effort: hard","color":"b60205"},{"url":"https://api.github.com/repos/serverless/serverless/labels/feature:%20wishlist","name":"feature: wishlist","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-27T16:34:42Z","updated_at":"2016-04-28T15:12:01Z","closed_at":null,"body":"It would be ideal to be able to generate lambda function code without actually deploying it. `serverless function deploy $func -t` allows for the tmp to be preserved, but still requires the produced code to be deployed to lambda. I'm proposing a new flag of `-p` or `--package-only` to limit the deploy to only code generation (`-t` would be implied)."},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/215458542","html_url":"https://github.com/serverless/serverless/issues/1055#issuecomment-215458542","issue_url":"https://api.github.com/repos/serverless/serverless/issues/1055","id":215458542,"user":{"login":"HyperBrain","id":5524702,"avatar_url":"https://avatars.githubusercontent.com/u/5524702?v=3","gravatar_id":"","url":"https://api.github.com/users/HyperBrain","html_url":"https://github.com/HyperBrain","followers_url":"https://api.github.com/users/HyperBrain/followers","following_url":"https://api.github.com/users/HyperBrain/following{/other_user}","gists_url":"https://api.github.com/users/HyperBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/HyperBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyperBrain/subscriptions","organizations_url":"https://api.github.com/users/HyperBrain/orgs","repos_url":"https://api.github.com/users/HyperBrain/repos","events_url":"https://api.github.com/users/HyperBrain/events{/privacy}","received_events_url":"https://api.github.com/users/HyperBrain/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T15:12:01Z","updated_at":"2016-04-28T15:12:01Z","body":"@allenhartwig The `package` command would be the most feasible way as everything else, like modifying the existing workflow would be very hard to keep stable (especially when you work with early exits) and might leave the project state undefined.\r\nI will try to get a plugin ready, as @eahefnawy suggested. Really like that idea."}}