{"action":"created","comment":{"url":"https://api.github.com/repos/asini/asini/pulls/comments/79909149","id":79909149,"diff_hunk":"@@ -226,3 +226,24 @@ export default class Command {\n     throw new Error(\"command.execute() needs to be implemented.\");\n   }\n }\n+\n+export function commandNameFromClassName(className) {\n+  return className.replace(\"Command\", \"\").toLowerCase();","path":"src/Command.js","position":15,"original_position":15,"commit_id":"056d9b0d8cf8863b0010f2b7c890d40819fc4d45","original_commit_id":"056d9b0d8cf8863b0010f2b7c890d40819fc4d45","user":{"login":"rygine","id":2925672,"avatar_url":"https://avatars.githubusercontent.com/u/2925672?v=3","gravatar_id":"","url":"https://api.github.com/users/rygine","html_url":"https://github.com/rygine","followers_url":"https://api.github.com/users/rygine/followers","following_url":"https://api.github.com/users/rygine/following{/other_user}","gists_url":"https://api.github.com/users/rygine/gists{/gist_id}","starred_url":"https://api.github.com/users/rygine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rygine/subscriptions","organizations_url":"https://api.github.com/users/rygine/orgs","repos_url":"https://api.github.com/users/rygine/repos","events_url":"https://api.github.com/users/rygine/events{/privacy}","received_events_url":"https://api.github.com/users/rygine/received_events","type":"User","site_admin":false},"body":"what happens if we have `CommandCommand`? 😄 \r\n\r\n`return className.replace(/Command$/, '').toLowerCase();`?","created_at":"2016-09-21T19:07:09Z","updated_at":"2016-09-21T19:07:09Z","html_url":"https://github.com/asini/asini/pull/18#discussion_r79909149","pull_request_url":"https://api.github.com/repos/asini/asini/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/asini/asini/pulls/comments/79909149"},"html":{"href":"https://github.com/asini/asini/pull/18#discussion_r79909149"},"pull_request":{"href":"https://api.github.com/repos/asini/asini/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/asini/asini/pulls/18","id":86207569,"html_url":"https://github.com/asini/asini/pull/18","diff_url":"https://github.com/asini/asini/pull/18.diff","patch_url":"https://github.com/asini/asini/pull/18.patch","issue_url":"https://api.github.com/repos/asini/asini/issues/18","number":18,"state":"open","locked":false,"title":"Validate and standardize exposure of command classes","user":{"login":"gigabo","id":115908,"avatar_url":"https://avatars.githubusercontent.com/u/115908?v=3","gravatar_id":"","url":"https://api.github.com/users/gigabo","html_url":"https://github.com/gigabo","followers_url":"https://api.github.com/users/gigabo/followers","following_url":"https://api.github.com/users/gigabo/following{/other_user}","gists_url":"https://api.github.com/users/gigabo/gists{/gist_id}","starred_url":"https://api.github.com/users/gigabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigabo/subscriptions","organizations_url":"https://api.github.com/users/gigabo/orgs","repos_url":"https://api.github.com/users/gigabo/repos","events_url":"https://api.github.com/users/gigabo/events{/privacy}","received_events_url":"https://api.github.com/users/gigabo/received_events","type":"User","site_admin":false},"body":"Groundwork for pluggable commands.\r\n\r\nEnsure that command classes:\r\n\r\n- Are named `*Command`\r\n- Are uniquely named\r\n- Extend the `Command` base class","created_at":"2016-09-21T17:34:13Z","updated_at":"2016-09-21T19:07:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9704b4f9224d4ee10056ae83c29cf381d2cb4791","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/asini/asini/pulls/18/commits","review_comments_url":"https://api.github.com/repos/asini/asini/pulls/18/comments","review_comment_url":"https://api.github.com/repos/asini/asini/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asini/asini/issues/18/comments","statuses_url":"https://api.github.com/repos/asini/asini/statuses/056d9b0d8cf8863b0010f2b7c890d40819fc4d45","head":{"label":"gigabo:command-validation","ref":"command-validation","sha":"056d9b0d8cf8863b0010f2b7c890d40819fc4d45","user":{"login":"gigabo","id":115908,"avatar_url":"https://avatars.githubusercontent.com/u/115908?v=3","gravatar_id":"","url":"https://api.github.com/users/gigabo","html_url":"https://github.com/gigabo","followers_url":"https://api.github.com/users/gigabo/followers","following_url":"https://api.github.com/users/gigabo/following{/other_user}","gists_url":"https://api.github.com/users/gigabo/gists{/gist_id}","starred_url":"https://api.github.com/users/gigabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigabo/subscriptions","organizations_url":"https://api.github.com/users/gigabo/orgs","repos_url":"https://api.github.com/users/gigabo/repos","events_url":"https://api.github.com/users/gigabo/events{/privacy}","received_events_url":"https://api.github.com/users/gigabo/received_events","type":"User","site_admin":false},"repo":{"id":68320280,"name":"asini","full_name":"gigabo/asini","owner":{"login":"gigabo","id":115908,"avatar_url":"https://avatars.githubusercontent.com/u/115908?v=3","gravatar_id":"","url":"https://api.github.com/users/gigabo","html_url":"https://github.com/gigabo","followers_url":"https://api.github.com/users/gigabo/followers","following_url":"https://api.github.com/users/gigabo/following{/other_user}","gists_url":"https://api.github.com/users/gigabo/gists{/gist_id}","starred_url":"https://api.github.com/users/gigabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigabo/subscriptions","organizations_url":"https://api.github.com/users/gigabo/orgs","repos_url":"https://api.github.com/users/gigabo/repos","events_url":"https://api.github.com/users/gigabo/events{/privacy}","received_events_url":"https://api.github.com/users/gigabo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gigabo/asini","description":null,"fork":true,"url":"https://api.github.com/repos/gigabo/asini","forks_url":"https://api.github.com/repos/gigabo/asini/forks","keys_url":"https://api.github.com/repos/gigabo/asini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gigabo/asini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gigabo/asini/teams","hooks_url":"https://api.github.com/repos/gigabo/asini/hooks","issue_events_url":"https://api.github.com/repos/gigabo/asini/issues/events{/number}","events_url":"https://api.github.com/repos/gigabo/asini/events","assignees_url":"https://api.github.com/repos/gigabo/asini/assignees{/user}","branches_url":"https://api.github.com/repos/gigabo/asini/branches{/branch}","tags_url":"https://api.github.com/repos/gigabo/asini/tags","blobs_url":"https://api.github.com/repos/gigabo/asini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gigabo/asini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gigabo/asini/git/refs{/sha}","trees_url":"https://api.github.com/repos/gigabo/asini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gigabo/asini/statuses/{sha}","languages_url":"https://api.github.com/repos/gigabo/asini/languages","stargazers_url":"https://api.github.com/repos/gigabo/asini/stargazers","contributors_url":"https://api.github.com/repos/gigabo/asini/contributors","subscribers_url":"https://api.github.com/repos/gigabo/asini/subscribers","subscription_url":"https://api.github.com/repos/gigabo/asini/subscription","commits_url":"https://api.github.com/repos/gigabo/asini/commits{/sha}","git_commits_url":"https://api.github.com/repos/gigabo/asini/git/commits{/sha}","comments_url":"https://api.github.com/repos/gigabo/asini/comments{/number}","issue_comment_url":"https://api.github.com/repos/gigabo/asini/issues/comments{/number}","contents_url":"https://api.github.com/repos/gigabo/asini/contents/{+path}","compare_url":"https://api.github.com/repos/gigabo/asini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gigabo/asini/merges","archive_url":"https://api.github.com/repos/gigabo/asini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gigabo/asini/downloads","issues_url":"https://api.github.com/repos/gigabo/asini/issues{/number}","pulls_url":"https://api.github.com/repos/gigabo/asini/pulls{/number}","milestones_url":"https://api.github.com/repos/gigabo/asini/milestones{/number}","notifications_url":"https://api.github.com/repos/gigabo/asini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gigabo/asini/labels{/name}","releases_url":"https://api.github.com/repos/gigabo/asini/releases{/id}","deployments_url":"https://api.github.com/repos/gigabo/asini/deployments","created_at":"2016-09-15T18:27:59Z","updated_at":"2016-09-15T18:28:00Z","pushed_at":"2016-09-21T17:33:42Z","git_url":"git://github.com/gigabo/asini.git","ssh_url":"git@github.com:gigabo/asini.git","clone_url":"https://github.com/gigabo/asini.git","svn_url":"https://github.com/gigabo/asini","homepage":null,"size":366,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"asini:master","ref":"master","sha":"931e24999d3faf7e6136c6951d4c2445c0ebf6a7","user":{"login":"asini","id":22204057,"avatar_url":"https://avatars.githubusercontent.com/u/22204057?v=3","gravatar_id":"","url":"https://api.github.com/users/asini","html_url":"https://github.com/asini","followers_url":"https://api.github.com/users/asini/followers","following_url":"https://api.github.com/users/asini/following{/other_user}","gists_url":"https://api.github.com/users/asini/gists{/gist_id}","starred_url":"https://api.github.com/users/asini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asini/subscriptions","organizations_url":"https://api.github.com/users/asini/orgs","repos_url":"https://api.github.com/users/asini/repos","events_url":"https://api.github.com/users/asini/events{/privacy}","received_events_url":"https://api.github.com/users/asini/received_events","type":"Organization","site_admin":false},"repo":{"id":68242277,"name":"asini","full_name":"asini/asini","owner":{"login":"asini","id":22204057,"avatar_url":"https://avatars.githubusercontent.com/u/22204057?v=3","gravatar_id":"","url":"https://api.github.com/users/asini","html_url":"https://github.com/asini","followers_url":"https://api.github.com/users/asini/followers","following_url":"https://api.github.com/users/asini/following{/other_user}","gists_url":"https://api.github.com/users/asini/gists{/gist_id}","starred_url":"https://api.github.com/users/asini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asini/subscriptions","organizations_url":"https://api.github.com/users/asini/orgs","repos_url":"https://api.github.com/users/asini/repos","events_url":"https://api.github.com/users/asini/events{/privacy}","received_events_url":"https://api.github.com/users/asini/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/asini/asini","description":":snake: A tool for managing JavaScript projects with multiple packages.","fork":false,"url":"https://api.github.com/repos/asini/asini","forks_url":"https://api.github.com/repos/asini/asini/forks","keys_url":"https://api.github.com/repos/asini/asini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asini/asini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asini/asini/teams","hooks_url":"https://api.github.com/repos/asini/asini/hooks","issue_events_url":"https://api.github.com/repos/asini/asini/issues/events{/number}","events_url":"https://api.github.com/repos/asini/asini/events","assignees_url":"https://api.github.com/repos/asini/asini/assignees{/user}","branches_url":"https://api.github.com/repos/asini/asini/branches{/branch}","tags_url":"https://api.github.com/repos/asini/asini/tags","blobs_url":"https://api.github.com/repos/asini/asini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asini/asini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asini/asini/git/refs{/sha}","trees_url":"https://api.github.com/repos/asini/asini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asini/asini/statuses/{sha}","languages_url":"https://api.github.com/repos/asini/asini/languages","stargazers_url":"https://api.github.com/repos/asini/asini/stargazers","contributors_url":"https://api.github.com/repos/asini/asini/contributors","subscribers_url":"https://api.github.com/repos/asini/asini/subscribers","subscription_url":"https://api.github.com/repos/asini/asini/subscription","commits_url":"https://api.github.com/repos/asini/asini/commits{/sha}","git_commits_url":"https://api.github.com/repos/asini/asini/git/commits{/sha}","comments_url":"https://api.github.com/repos/asini/asini/comments{/number}","issue_comment_url":"https://api.github.com/repos/asini/asini/issues/comments{/number}","contents_url":"https://api.github.com/repos/asini/asini/contents/{+path}","compare_url":"https://api.github.com/repos/asini/asini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asini/asini/merges","archive_url":"https://api.github.com/repos/asini/asini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asini/asini/downloads","issues_url":"https://api.github.com/repos/asini/asini/issues{/number}","pulls_url":"https://api.github.com/repos/asini/asini/pulls{/number}","milestones_url":"https://api.github.com/repos/asini/asini/milestones{/number}","notifications_url":"https://api.github.com/repos/asini/asini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asini/asini/labels{/name}","releases_url":"https://api.github.com/repos/asini/asini/releases{/id}","deployments_url":"https://api.github.com/repos/asini/asini/deployments","created_at":"2016-09-14T20:50:51Z","updated_at":"2016-09-20T06:13:37Z","pushed_at":"2016-09-21T17:34:15Z","git_url":"git://github.com/asini/asini.git","ssh_url":"git@github.com:asini/asini.git","clone_url":"https://github.com/asini/asini.git","svn_url":"https://github.com/asini/asini","homepage":"","size":369,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asini/asini/pulls/18"},"html":{"href":"https://github.com/asini/asini/pull/18"},"issue":{"href":"https://api.github.com/repos/asini/asini/issues/18"},"comments":{"href":"https://api.github.com/repos/asini/asini/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/asini/asini/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/asini/asini/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asini/asini/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/asini/asini/statuses/056d9b0d8cf8863b0010f2b7c890d40819fc4d45"}}}}
{"actor":{"display_login":"rygine"}}