{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/cdosborn/lit/pulls/12","id":30225611,"html_url":"https://github.com/cdosborn/lit/pull/12","diff_url":"https://github.com/cdosborn/lit/pull/12.diff","patch_url":"https://github.com/cdosborn/lit/pull/12.patch","issue_url":"https://api.github.com/repos/cdosborn/lit/issues/12","number":12,"state":"open","locked":false,"title":"Add options to allow lit to be used in a pipe","user":{"login":"ThomasSpurden","id":2843288,"avatar_url":"https://avatars.githubusercontent.com/u/2843288?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasSpurden","html_url":"https://github.com/ThomasSpurden","followers_url":"https://api.github.com/users/ThomasSpurden/followers","following_url":"https://api.github.com/users/ThomasSpurden/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSpurden/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSpurden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSpurden/subscriptions","organizations_url":"https://api.github.com/users/ThomasSpurden/orgs","repos_url":"https://api.github.com/users/ThomasSpurden/repos","events_url":"https://api.github.com/users/ThomasSpurden/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSpurden/received_events","type":"User","site_admin":false},"body":"I've bundled these together as they are related.\r\n\r\nThe --pipe option allows things like\r\n```\r\ncat a.lit b.lit | lit -c --pipe > c.c\r\n```\r\nand the lang option allows things like\r\n```\r\ncat a.lit b.lit | lit -h --lang=c --pipe > c.html\r\n```\r\nwhilst keeping syntax highlighting.","created_at":"2015-02-28T15:17:50Z","updated_at":"2015-02-28T15:17:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cdosborn/lit/pulls/12/commits","review_comments_url":"https://api.github.com/repos/cdosborn/lit/pulls/12/comments","review_comment_url":"https://api.github.com/repos/cdosborn/lit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cdosborn/lit/issues/12/comments","statuses_url":"https://api.github.com/repos/cdosborn/lit/statuses/31809e627899f4f4375de37aabab606051ab02be","head":{"label":"ThomasSpurden:lang-override","ref":"lang-override","sha":"31809e627899f4f4375de37aabab606051ab02be","user":{"login":"ThomasSpurden","id":2843288,"avatar_url":"https://avatars.githubusercontent.com/u/2843288?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasSpurden","html_url":"https://github.com/ThomasSpurden","followers_url":"https://api.github.com/users/ThomasSpurden/followers","following_url":"https://api.github.com/users/ThomasSpurden/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSpurden/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSpurden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSpurden/subscriptions","organizations_url":"https://api.github.com/users/ThomasSpurden/orgs","repos_url":"https://api.github.com/users/ThomasSpurden/repos","events_url":"https://api.github.com/users/ThomasSpurden/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSpurden/received_events","type":"User","site_admin":false},"repo":{"id":31384308,"name":"lit","full_name":"ThomasSpurden/lit","owner":{"login":"ThomasSpurden","id":2843288,"avatar_url":"https://avatars.githubusercontent.com/u/2843288?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasSpurden","html_url":"https://github.com/ThomasSpurden","followers_url":"https://api.github.com/users/ThomasSpurden/followers","following_url":"https://api.github.com/users/ThomasSpurden/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSpurden/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSpurden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSpurden/subscriptions","organizations_url":"https://api.github.com/users/ThomasSpurden/orgs","repos_url":"https://api.github.com/users/ThomasSpurden/repos","events_url":"https://api.github.com/users/ThomasSpurden/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSpurden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ThomasSpurden/lit","description":"A modern tool for literate programming","fork":true,"url":"https://api.github.com/repos/ThomasSpurden/lit","forks_url":"https://api.github.com/repos/ThomasSpurden/lit/forks","keys_url":"https://api.github.com/repos/ThomasSpurden/lit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ThomasSpurden/lit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ThomasSpurden/lit/teams","hooks_url":"https://api.github.com/repos/ThomasSpurden/lit/hooks","issue_events_url":"https://api.github.com/repos/ThomasSpurden/lit/issues/events{/number}","events_url":"https://api.github.com/repos/ThomasSpurden/lit/events","assignees_url":"https://api.github.com/repos/ThomasSpurden/lit/assignees{/user}","branches_url":"https://api.github.com/repos/ThomasSpurden/lit/branches{/branch}","tags_url":"https://api.github.com/repos/ThomasSpurden/lit/tags","blobs_url":"https://api.github.com/repos/ThomasSpurden/lit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ThomasSpurden/lit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ThomasSpurden/lit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ThomasSpurden/lit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ThomasSpurden/lit/statuses/{sha}","languages_url":"https://api.github.com/repos/ThomasSpurden/lit/languages","stargazers_url":"https://api.github.com/repos/ThomasSpurden/lit/stargazers","contributors_url":"https://api.github.com/repos/ThomasSpurden/lit/contributors","subscribers_url":"https://api.github.com/repos/ThomasSpurden/lit/subscribers","subscription_url":"https://api.github.com/repos/ThomasSpurden/lit/subscription","commits_url":"https://api.github.com/repos/ThomasSpurden/lit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ThomasSpurden/lit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ThomasSpurden/lit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ThomasSpurden/lit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ThomasSpurden/lit/contents/{+path}","compare_url":"https://api.github.com/repos/ThomasSpurden/lit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ThomasSpurden/lit/merges","archive_url":"https://api.github.com/repos/ThomasSpurden/lit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ThomasSpurden/lit/downloads","issues_url":"https://api.github.com/repos/ThomasSpurden/lit/issues{/number}","pulls_url":"https://api.github.com/repos/ThomasSpurden/lit/pulls{/number}","milestones_url":"https://api.github.com/repos/ThomasSpurden/lit/milestones{/number}","notifications_url":"https://api.github.com/repos/ThomasSpurden/lit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ThomasSpurden/lit/labels{/name}","releases_url":"https://api.github.com/repos/ThomasSpurden/lit/releases{/id}","created_at":"2015-02-26T19:19:37Z","updated_at":"2015-02-28T15:03:18Z","pushed_at":"2015-02-28T15:10:11Z","git_url":"git://github.com/ThomasSpurden/lit.git","ssh_url":"git@github.com:ThomasSpurden/lit.git","clone_url":"https://github.com/ThomasSpurden/lit.git","svn_url":"https://github.com/ThomasSpurden/lit","homepage":"http://cdosborn.github.io/lit/","size":250,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cdosborn:master","ref":"master","sha":"ab932b7ebfced468f3df8e2490c397aee5b039b7","user":{"login":"cdosborn","id":3847314,"avatar_url":"https://avatars.githubusercontent.com/u/3847314?v=3","gravatar_id":"","url":"https://api.github.com/users/cdosborn","html_url":"https://github.com/cdosborn","followers_url":"https://api.github.com/users/cdosborn/followers","following_url":"https://api.github.com/users/cdosborn/following{/other_user}","gists_url":"https://api.github.com/users/cdosborn/gists{/gist_id}","starred_url":"https://api.github.com/users/cdosborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdosborn/subscriptions","organizations_url":"https://api.github.com/users/cdosborn/orgs","repos_url":"https://api.github.com/users/cdosborn/repos","events_url":"https://api.github.com/users/cdosborn/events{/privacy}","received_events_url":"https://api.github.com/users/cdosborn/received_events","type":"User","site_admin":false},"repo":{"id":22353460,"name":"lit","full_name":"cdosborn/lit","owner":{"login":"cdosborn","id":3847314,"avatar_url":"https://avatars.githubusercontent.com/u/3847314?v=3","gravatar_id":"","url":"https://api.github.com/users/cdosborn","html_url":"https://github.com/cdosborn","followers_url":"https://api.github.com/users/cdosborn/followers","following_url":"https://api.github.com/users/cdosborn/following{/other_user}","gists_url":"https://api.github.com/users/cdosborn/gists{/gist_id}","starred_url":"https://api.github.com/users/cdosborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdosborn/subscriptions","organizations_url":"https://api.github.com/users/cdosborn/orgs","repos_url":"https://api.github.com/users/cdosborn/repos","events_url":"https://api.github.com/users/cdosborn/events{/privacy}","received_events_url":"https://api.github.com/users/cdosborn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdosborn/lit","description":"A modern tool for literate programming","fork":false,"url":"https://api.github.com/repos/cdosborn/lit","forks_url":"https://api.github.com/repos/cdosborn/lit/forks","keys_url":"https://api.github.com/repos/cdosborn/lit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdosborn/lit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdosborn/lit/teams","hooks_url":"https://api.github.com/repos/cdosborn/lit/hooks","issue_events_url":"https://api.github.com/repos/cdosborn/lit/issues/events{/number}","events_url":"https://api.github.com/repos/cdosborn/lit/events","assignees_url":"https://api.github.com/repos/cdosborn/lit/assignees{/user}","branches_url":"https://api.github.com/repos/cdosborn/lit/branches{/branch}","tags_url":"https://api.github.com/repos/cdosborn/lit/tags","blobs_url":"https://api.github.com/repos/cdosborn/lit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdosborn/lit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdosborn/lit/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdosborn/lit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdosborn/lit/statuses/{sha}","languages_url":"https://api.github.com/repos/cdosborn/lit/languages","stargazers_url":"https://api.github.com/repos/cdosborn/lit/stargazers","contributors_url":"https://api.github.com/repos/cdosborn/lit/contributors","subscribers_url":"https://api.github.com/repos/cdosborn/lit/subscribers","subscription_url":"https://api.github.com/repos/cdosborn/lit/subscription","commits_url":"https://api.github.com/repos/cdosborn/lit/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdosborn/lit/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdosborn/lit/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdosborn/lit/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdosborn/lit/contents/{+path}","compare_url":"https://api.github.com/repos/cdosborn/lit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdosborn/lit/merges","archive_url":"https://api.github.com/repos/cdosborn/lit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdosborn/lit/downloads","issues_url":"https://api.github.com/repos/cdosborn/lit/issues{/number}","pulls_url":"https://api.github.com/repos/cdosborn/lit/pulls{/number}","milestones_url":"https://api.github.com/repos/cdosborn/lit/milestones{/number}","notifications_url":"https://api.github.com/repos/cdosborn/lit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdosborn/lit/labels{/name}","releases_url":"https://api.github.com/repos/cdosborn/lit/releases{/id}","created_at":"2014-07-28T18:35:53Z","updated_at":"2015-02-27T17:48:00Z","pushed_at":"2015-02-27T17:48:00Z","git_url":"git://github.com/cdosborn/lit.git","ssh_url":"git@github.com:cdosborn/lit.git","clone_url":"https://github.com/cdosborn/lit.git","svn_url":"https://github.com/cdosborn/lit","homepage":"http://cdosborn.github.io/lit/","size":746,"stargazers_count":231,"watchers_count":231,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":5,"forks":12,"open_issues":5,"watchers":231,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cdosborn/lit/pulls/12"},"html":{"href":"https://github.com/cdosborn/lit/pull/12"},"issue":{"href":"https://api.github.com/repos/cdosborn/lit/issues/12"},"comments":{"href":"https://api.github.com/repos/cdosborn/lit/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/cdosborn/lit/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/cdosborn/lit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cdosborn/lit/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/cdosborn/lit/statuses/31809e627899f4f4375de37aabab606051ab02be"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":123,"deletions":47,"changed_files":8}}