{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/pandora/pulls/comments/44159984","id":44159984,"diff_hunk":"@@ -0,0 +1,46 @@\n+package com.wikia.tools.createnewservice;\n+\n+import org.docopt.Docopt;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+import java.util.Map;\n+\n+public class CreateNewServiceApplication {\n+\n+  private static final Logger LOGGER = LoggerFactory.getLogger(\"CNSAT\");\n+\n+  private static final String DOC =\n+      \"Usage: gradleCommand (-p PROJECT -o OWNER)[-s][-h]\\n\"\n+          + \"\\n\"\n+          + \"-h --help                    show this\\n\"\n+          + \"-p PROJECT --project PROJECT project name\\n\"\n+          + \"-s         --storage         project contains storage\\n\"\n+          + \"-o OWNER   --owner OWNER     owner of project\\n\"\n+          + \"\\n\";","path":"tools/create-new-service-tool/src/main/java/com/wikia/tools/createnewservice/CreateNewServiceApplication.java","position":20,"original_position":20,"commit_id":"47272ce0bdc59e3328504a024f014a3b99497be0","original_commit_id":"47272ce0bdc59e3328504a024f014a3b99497be0","user":{"login":"sqreek","id":6649776,"avatar_url":"https://avatars.githubusercontent.com/u/6649776?v=3","gravatar_id":"","url":"https://api.github.com/users/sqreek","html_url":"https://github.com/sqreek","followers_url":"https://api.github.com/users/sqreek/followers","following_url":"https://api.github.com/users/sqreek/following{/other_user}","gists_url":"https://api.github.com/users/sqreek/gists{/gist_id}","starred_url":"https://api.github.com/users/sqreek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqreek/subscriptions","organizations_url":"https://api.github.com/users/sqreek/orgs","repos_url":"https://api.github.com/users/sqreek/repos","events_url":"https://api.github.com/users/sqreek/events{/privacy}","received_events_url":"https://api.github.com/users/sqreek/received_events","type":"User","site_admin":false},"body":"but, this tool work oposite.\r\nFrom this description (mostly first line) create args parse","created_at":"2015-11-06T16:58:17Z","updated_at":"2015-11-06T16:58:17Z","html_url":"https://github.com/Wikia/pandora/pull/600#discussion_r44159984","pull_request_url":"https://api.github.com/repos/Wikia/pandora/pulls/600","_links":{"self":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/comments/44159984"},"html":{"href":"https://github.com/Wikia/pandora/pull/600#discussion_r44159984"},"pull_request":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/600"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/pandora/pulls/600","id":49902093,"html_url":"https://github.com/Wikia/pandora/pull/600","diff_url":"https://github.com/Wikia/pandora/pull/600.diff","patch_url":"https://github.com/Wikia/pandora/pull/600.patch","issue_url":"https://api.github.com/repos/Wikia/pandora/issues/600","number":600,"state":"open","locked":false,"title":"Create New Service Awesome Tool","user":{"login":"sqreek","id":6649776,"avatar_url":"https://avatars.githubusercontent.com/u/6649776?v=3","gravatar_id":"","url":"https://api.github.com/users/sqreek","html_url":"https://github.com/sqreek","followers_url":"https://api.github.com/users/sqreek/followers","following_url":"https://api.github.com/users/sqreek/following{/other_user}","gists_url":"https://api.github.com/users/sqreek/gists{/gist_id}","starred_url":"https://api.github.com/users/sqreek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqreek/subscriptions","organizations_url":"https://api.github.com/users/sqreek/orgs","repos_url":"https://api.github.com/users/sqreek/repos","events_url":"https://api.github.com/users/sqreek/events{/privacy}","received_events_url":"https://api.github.com/users/sqreek/received_events","type":"User","site_admin":false},"body":"This PR introduce tool for creating new services\r\n\r\nusage:\r\n`\r\ngradlew :tools:create-new-service-tool:run -Dexec.args=\"-p your-new-service-name -o your-team-name\"\r\n`\r\n\r\nIt's based on FreeMarker and DocOpt\r\n\r\nping @Wikia/services-team ","created_at":"2015-11-06T00:37:39Z","updated_at":"2015-11-06T16:58:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed3febd1936946428cee72ec49b3f3e89600943c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/pandora/pulls/600/commits","review_comments_url":"https://api.github.com/repos/Wikia/pandora/pulls/600/comments","review_comment_url":"https://api.github.com/repos/Wikia/pandora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/pandora/issues/600/comments","statuses_url":"https://api.github.com/repos/Wikia/pandora/statuses/47272ce0bdc59e3328504a024f014a3b99497be0","head":{"label":"Wikia:Create_New_Service_Tool","ref":"Create_New_Service_Tool","sha":"47272ce0bdc59e3328504a024f014a3b99497be0","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":26663749,"name":"pandora","full_name":"Wikia/pandora","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/pandora","description":"API Service","fork":false,"url":"https://api.github.com/repos/Wikia/pandora","forks_url":"https://api.github.com/repos/Wikia/pandora/forks","keys_url":"https://api.github.com/repos/Wikia/pandora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/pandora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/pandora/teams","hooks_url":"https://api.github.com/repos/Wikia/pandora/hooks","issue_events_url":"https://api.github.com/repos/Wikia/pandora/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/pandora/events","assignees_url":"https://api.github.com/repos/Wikia/pandora/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/pandora/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/pandora/tags","blobs_url":"https://api.github.com/repos/Wikia/pandora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/pandora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/pandora/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/pandora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/pandora/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/pandora/languages","stargazers_url":"https://api.github.com/repos/Wikia/pandora/stargazers","contributors_url":"https://api.github.com/repos/Wikia/pandora/contributors","subscribers_url":"https://api.github.com/repos/Wikia/pandora/subscribers","subscription_url":"https://api.github.com/repos/Wikia/pandora/subscription","commits_url":"https://api.github.com/repos/Wikia/pandora/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/pandora/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/pandora/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/pandora/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/pandora/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/pandora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/pandora/merges","archive_url":"https://api.github.com/repos/Wikia/pandora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/pandora/downloads","issues_url":"https://api.github.com/repos/Wikia/pandora/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/pandora/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/pandora/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/pandora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/pandora/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/pandora/releases{/id}","created_at":"2014-11-15T00:29:06Z","updated_at":"2015-11-04T16:44:11Z","pushed_at":"2015-11-06T13:57:17Z","git_url":"git://github.com/Wikia/pandora.git","ssh_url":"git@github.com:Wikia/pandora.git","clone_url":"https://github.com/Wikia/pandora.git","svn_url":"https://github.com/Wikia/pandora","homepage":null,"size":23108,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":3,"default_branch":"master"}},"base":{"label":"Wikia:master","ref":"master","sha":"4b0f779f8ba23bbd1ccaa0bbeebd20275382d74b","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":26663749,"name":"pandora","full_name":"Wikia/pandora","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/pandora","description":"API Service","fork":false,"url":"https://api.github.com/repos/Wikia/pandora","forks_url":"https://api.github.com/repos/Wikia/pandora/forks","keys_url":"https://api.github.com/repos/Wikia/pandora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/pandora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/pandora/teams","hooks_url":"https://api.github.com/repos/Wikia/pandora/hooks","issue_events_url":"https://api.github.com/repos/Wikia/pandora/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/pandora/events","assignees_url":"https://api.github.com/repos/Wikia/pandora/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/pandora/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/pandora/tags","blobs_url":"https://api.github.com/repos/Wikia/pandora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/pandora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/pandora/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/pandora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/pandora/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/pandora/languages","stargazers_url":"https://api.github.com/repos/Wikia/pandora/stargazers","contributors_url":"https://api.github.com/repos/Wikia/pandora/contributors","subscribers_url":"https://api.github.com/repos/Wikia/pandora/subscribers","subscription_url":"https://api.github.com/repos/Wikia/pandora/subscription","commits_url":"https://api.github.com/repos/Wikia/pandora/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/pandora/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/pandora/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/pandora/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/pandora/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/pandora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/pandora/merges","archive_url":"https://api.github.com/repos/Wikia/pandora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/pandora/downloads","issues_url":"https://api.github.com/repos/Wikia/pandora/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/pandora/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/pandora/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/pandora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/pandora/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/pandora/releases{/id}","created_at":"2014-11-15T00:29:06Z","updated_at":"2015-11-04T16:44:11Z","pushed_at":"2015-11-06T13:57:17Z","git_url":"git://github.com/Wikia/pandora.git","ssh_url":"git@github.com:Wikia/pandora.git","clone_url":"https://github.com/Wikia/pandora.git","svn_url":"https://github.com/Wikia/pandora","homepage":null,"size":23108,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/600"},"html":{"href":"https://github.com/Wikia/pandora/pull/600"},"issue":{"href":"https://api.github.com/repos/Wikia/pandora/issues/600"},"comments":{"href":"https://api.github.com/repos/Wikia/pandora/issues/600/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/600/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/600/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/pandora/statuses/47272ce0bdc59e3328504a024f014a3b99497be0"}}}}