{"action":"opened","number":35,"pull_request":{"url":"https://api.github.com/repos/andrewrk/swig-email-templates/pulls/35","id":72914257,"html_url":"https://github.com/andrewrk/swig-email-templates/pull/35","diff_url":"https://github.com/andrewrk/swig-email-templates/pull/35.diff","patch_url":"https://github.com/andrewrk/swig-email-templates/pull/35.patch","issue_url":"https://api.github.com/repos/andrewrk/swig-email-templates/issues/35","number":35,"state":"open","locked":false,"title":"Small tweaks to Example section in README.md","user":{"login":"mattaudesse","id":3409214,"avatar_url":"https://avatars.githubusercontent.com/u/3409214?v=3","gravatar_id":"","url":"https://api.github.com/users/mattaudesse","html_url":"https://github.com/mattaudesse","followers_url":"https://api.github.com/users/mattaudesse/followers","following_url":"https://api.github.com/users/mattaudesse/following{/other_user}","gists_url":"https://api.github.com/users/mattaudesse/gists{/gist_id}","starred_url":"https://api.github.com/users/mattaudesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattaudesse/subscriptions","organizations_url":"https://api.github.com/users/mattaudesse/orgs","repos_url":"https://api.github.com/users/mattaudesse/repos","events_url":"https://api.github.com/users/mattaudesse/events{/privacy}","received_events_url":"https://api.github.com/users/mattaudesse/received_events","type":"User","site_admin":false},"body":"Hi there,\r\n\r\nI noticed a small discrepancy between the command line tool's API and what's shown in the [Example](https://github.com/andrewrk/swig-email-templates#example-1) section of ```README.md```, namely an extra ```render``` argument which ```swig-email-templates``` believes to be a template file rather than a command.\r\n\r\n> swig-email-templates **_render_** email1.html email2.html -o output/ -j context/main.json\r\n\r\nThis PR simply tweaks ```README.md``` to show (what I believe to be...) the correct usage. Thanks!\r\n\r\n##### What's changed: #####\r\n* Remove ```render``` from command line arguments (otherwise\r\n  ```swig-email-templates``` thinks ```render``` is a file like ```email1.html```,\r\n  or ```email2.html``` and throws a node ENOENT exception).\r\n\r\n* Replace ```examples``` with ```example``` in description since there's only\r\n  one example provided below it.","created_at":"2016-06-07T17:18:03Z","updated_at":"2016-06-07T17:18:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andrewrk/swig-email-templates/pulls/35/commits","review_comments_url":"https://api.github.com/repos/andrewrk/swig-email-templates/pulls/35/comments","review_comment_url":"https://api.github.com/repos/andrewrk/swig-email-templates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andrewrk/swig-email-templates/issues/35/comments","statuses_url":"https://api.github.com/repos/andrewrk/swig-email-templates/statuses/7fe881d9080c605a79cfc0035e30c6f8c5519f7b","head":{"label":"mattaudesse:fix-readme-md-example","ref":"fix-readme-md-example","sha":"7fe881d9080c605a79cfc0035e30c6f8c5519f7b","user":{"login":"mattaudesse","id":3409214,"avatar_url":"https://avatars.githubusercontent.com/u/3409214?v=3","gravatar_id":"","url":"https://api.github.com/users/mattaudesse","html_url":"https://github.com/mattaudesse","followers_url":"https://api.github.com/users/mattaudesse/followers","following_url":"https://api.github.com/users/mattaudesse/following{/other_user}","gists_url":"https://api.github.com/users/mattaudesse/gists{/gist_id}","starred_url":"https://api.github.com/users/mattaudesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattaudesse/subscriptions","organizations_url":"https://api.github.com/users/mattaudesse/orgs","repos_url":"https://api.github.com/users/mattaudesse/repos","events_url":"https://api.github.com/users/mattaudesse/events{/privacy}","received_events_url":"https://api.github.com/users/mattaudesse/received_events","type":"User","site_admin":false},"repo":{"id":60629749,"name":"swig-email-templates","full_name":"mattaudesse/swig-email-templates","owner":{"login":"mattaudesse","id":3409214,"avatar_url":"https://avatars.githubusercontent.com/u/3409214?v=3","gravatar_id":"","url":"https://api.github.com/users/mattaudesse","html_url":"https://github.com/mattaudesse","followers_url":"https://api.github.com/users/mattaudesse/followers","following_url":"https://api.github.com/users/mattaudesse/following{/other_user}","gists_url":"https://api.github.com/users/mattaudesse/gists{/gist_id}","starred_url":"https://api.github.com/users/mattaudesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattaudesse/subscriptions","organizations_url":"https://api.github.com/users/mattaudesse/orgs","repos_url":"https://api.github.com/users/mattaudesse/repos","events_url":"https://api.github.com/users/mattaudesse/events{/privacy}","received_events_url":"https://api.github.com/users/mattaudesse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattaudesse/swig-email-templates","description":"Node.js module for rendering emails with swig templates and email-friendly inline CSS using boost.","fork":true,"url":"https://api.github.com/repos/mattaudesse/swig-email-templates","forks_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/forks","keys_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/teams","hooks_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/hooks","issue_events_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/issues/events{/number}","events_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/events","assignees_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/assignees{/user}","branches_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/branches{/branch}","tags_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/tags","blobs_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/languages","stargazers_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/stargazers","contributors_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/contributors","subscribers_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/subscribers","subscription_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/subscription","commits_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/contents/{+path}","compare_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/merges","archive_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/downloads","issues_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/issues{/number}","pulls_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/labels{/name}","releases_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/releases{/id}","deployments_url":"https://api.github.com/repos/mattaudesse/swig-email-templates/deployments","created_at":"2016-06-07T16:40:10Z","updated_at":"2016-06-07T16:40:11Z","pushed_at":"2016-06-07T16:57:46Z","git_url":"git://github.com/mattaudesse/swig-email-templates.git","ssh_url":"git@github.com:mattaudesse/swig-email-templates.git","clone_url":"https://github.com/mattaudesse/swig-email-templates.git","svn_url":"https://github.com/mattaudesse/swig-email-templates","homepage":"","size":96,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"andrewrk:master","ref":"master","sha":"3eda102ec1cbbf30b85f1d1f0f14f45dfe479683","user":{"login":"andrewrk","id":106511,"avatar_url":"https://avatars.githubusercontent.com/u/106511?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewrk","html_url":"https://github.com/andrewrk","followers_url":"https://api.github.com/users/andrewrk/followers","following_url":"https://api.github.com/users/andrewrk/following{/other_user}","gists_url":"https://api.github.com/users/andrewrk/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewrk/subscriptions","organizations_url":"https://api.github.com/users/andrewrk/orgs","repos_url":"https://api.github.com/users/andrewrk/repos","events_url":"https://api.github.com/users/andrewrk/events{/privacy}","received_events_url":"https://api.github.com/users/andrewrk/received_events","type":"User","site_admin":false},"repo":{"id":7619591,"name":"swig-email-templates","full_name":"andrewrk/swig-email-templates","owner":{"login":"andrewrk","id":106511,"avatar_url":"https://avatars.githubusercontent.com/u/106511?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewrk","html_url":"https://github.com/andrewrk","followers_url":"https://api.github.com/users/andrewrk/followers","following_url":"https://api.github.com/users/andrewrk/following{/other_user}","gists_url":"https://api.github.com/users/andrewrk/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewrk/subscriptions","organizations_url":"https://api.github.com/users/andrewrk/orgs","repos_url":"https://api.github.com/users/andrewrk/repos","events_url":"https://api.github.com/users/andrewrk/events{/privacy}","received_events_url":"https://api.github.com/users/andrewrk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrewrk/swig-email-templates","description":"Node.js module for rendering emails with swig templates and email-friendly inline CSS using boost.","fork":false,"url":"https://api.github.com/repos/andrewrk/swig-email-templates","forks_url":"https://api.github.com/repos/andrewrk/swig-email-templates/forks","keys_url":"https://api.github.com/repos/andrewrk/swig-email-templates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrewrk/swig-email-templates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrewrk/swig-email-templates/teams","hooks_url":"https://api.github.com/repos/andrewrk/swig-email-templates/hooks","issue_events_url":"https://api.github.com/repos/andrewrk/swig-email-templates/issues/events{/number}","events_url":"https://api.github.com/repos/andrewrk/swig-email-templates/events","assignees_url":"https://api.github.com/repos/andrewrk/swig-email-templates/assignees{/user}","branches_url":"https://api.github.com/repos/andrewrk/swig-email-templates/branches{/branch}","tags_url":"https://api.github.com/repos/andrewrk/swig-email-templates/tags","blobs_url":"https://api.github.com/repos/andrewrk/swig-email-templates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrewrk/swig-email-templates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrewrk/swig-email-templates/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrewrk/swig-email-templates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrewrk/swig-email-templates/statuses/{sha}","languages_url":"https://api.github.com/repos/andrewrk/swig-email-templates/languages","stargazers_url":"https://api.github.com/repos/andrewrk/swig-email-templates/stargazers","contributors_url":"https://api.github.com/repos/andrewrk/swig-email-templates/contributors","subscribers_url":"https://api.github.com/repos/andrewrk/swig-email-templates/subscribers","subscription_url":"https://api.github.com/repos/andrewrk/swig-email-templates/subscription","commits_url":"https://api.github.com/repos/andrewrk/swig-email-templates/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrewrk/swig-email-templates/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrewrk/swig-email-templates/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrewrk/swig-email-templates/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrewrk/swig-email-templates/contents/{+path}","compare_url":"https://api.github.com/repos/andrewrk/swig-email-templates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrewrk/swig-email-templates/merges","archive_url":"https://api.github.com/repos/andrewrk/swig-email-templates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrewrk/swig-email-templates/downloads","issues_url":"https://api.github.com/repos/andrewrk/swig-email-templates/issues{/number}","pulls_url":"https://api.github.com/repos/andrewrk/swig-email-templates/pulls{/number}","milestones_url":"https://api.github.com/repos/andrewrk/swig-email-templates/milestones{/number}","notifications_url":"https://api.github.com/repos/andrewrk/swig-email-templates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrewrk/swig-email-templates/labels{/name}","releases_url":"https://api.github.com/repos/andrewrk/swig-email-templates/releases{/id}","deployments_url":"https://api.github.com/repos/andrewrk/swig-email-templates/deployments","created_at":"2013-01-15T06:06:05Z","updated_at":"2016-05-23T21:19:55Z","pushed_at":"2016-04-29T10:18:35Z","git_url":"git://github.com/andrewrk/swig-email-templates.git","ssh_url":"git@github.com:andrewrk/swig-email-templates.git","clone_url":"https://github.com/andrewrk/swig-email-templates.git","svn_url":"https://github.com/andrewrk/swig-email-templates","homepage":"","size":108,"stargazers_count":129,"watchers_count":129,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":4,"forks":29,"open_issues":4,"watchers":129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andrewrk/swig-email-templates/pulls/35"},"html":{"href":"https://github.com/andrewrk/swig-email-templates/pull/35"},"issue":{"href":"https://api.github.com/repos/andrewrk/swig-email-templates/issues/35"},"comments":{"href":"https://api.github.com/repos/andrewrk/swig-email-templates/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/andrewrk/swig-email-templates/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/andrewrk/swig-email-templates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andrewrk/swig-email-templates/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/andrewrk/swig-email-templates/statuses/7fe881d9080c605a79cfc0035e30c6f8c5519f7b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"mattaudesse"}}