{"action":"created","comment":{"url":"https://api.github.com/repos/pnp/office365-cli/pulls/comments/234404738","pull_request_review_id":176050039,"id":234404738,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDQwNDczOA==","diff_hunk":"@@ -0,0 +1,209 @@\n+import auth from '../../SpoAuth';\n+import config from '../../../../config';\n+import commands from '../../commands';\n+import GlobalOptions from '../../../../GlobalOptions';\n+import * as request from 'request-promise-native';\n+import {\n+  CommandOption,\n+  CommandTypes,\n+  CommandValidate\n+} from '../../../../Command';\n+import SpoCommand from '../../SpoCommand';\n+import Utils from '../../../../Utils';\n+import { Auth } from '../../../../Auth';\n+\n+const vorpal: Vorpal = require('../../../../vorpal-init');\n+\n+interface CommandArgs {\n+  options: Options;\n+}\n+\n+interface Options extends GlobalOptions {\n+  webUrl: string;\n+  listId?: string;\n+  listTitle?: string;\n+  contentTypeId: string;\n+  confirm?: boolean;\n+}\n+\n+class SpoListContentTypeRemoveCommand extends SpoCommand {\n+  public get name(): string {\n+    return commands.LIST_CONTENTTYPE_REMOVE;\n+  }\n+\n+  public get description(): string {\n+    return 'Removes content type from list';\n+  }\n+\n+  public types(): CommandTypes | undefined {\n+    return {\n+      string: ['contentTypeId', 'c']\n+    };\n+  }\n+","path":"src/o365/spo/commands/list/list-contenttype-remove.ts","position":43,"original_position":43,"commit_id":"aa479c662d7406192db972adddeb4c278e921141","original_commit_id":"aa479c662d7406192db972adddeb4c278e921141","user":{"login":"waldekmastykarz","id":11164679,"node_id":"MDQ6VXNlcjExMTY0Njc5","avatar_url":"https://avatars2.githubusercontent.com/u/11164679?v=4","gravatar_id":"","url":"https://api.github.com/users/waldekmastykarz","html_url":"https://github.com/waldekmastykarz","followers_url":"https://api.github.com/users/waldekmastykarz/followers","following_url":"https://api.github.com/users/waldekmastykarz/following{/other_user}","gists_url":"https://api.github.com/users/waldekmastykarz/gists{/gist_id}","starred_url":"https://api.github.com/users/waldekmastykarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldekmastykarz/subscriptions","organizations_url":"https://api.github.com/users/waldekmastykarz/orgs","repos_url":"https://api.github.com/users/waldekmastykarz/repos","events_url":"https://api.github.com/users/waldekmastykarz/events{/privacy}","received_events_url":"https://api.github.com/users/waldekmastykarz/received_events","type":"User","site_admin":false},"body":"We're missing tracking usage of optional arguments in the telemetry","created_at":"2018-11-17T11:03:44Z","updated_at":"2018-11-17T11:14:44Z","html_url":"https://github.com/pnp/office365-cli/pull/669#discussion_r234404738","pull_request_url":"https://api.github.com/repos/pnp/office365-cli/pulls/669","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pnp/office365-cli/pulls/comments/234404738"},"html":{"href":"https://github.com/pnp/office365-cli/pull/669#discussion_r234404738"},"pull_request":{"href":"https://api.github.com/repos/pnp/office365-cli/pulls/669"}}},"pull_request":{"url":"https://api.github.com/repos/pnp/office365-cli/pulls/669","id":229982702,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5OTgyNzAy","html_url":"https://github.com/pnp/office365-cli/pull/669","diff_url":"https://github.com/pnp/office365-cli/pull/669.diff","patch_url":"https://github.com/pnp/office365-cli/pull/669.patch","issue_url":"https://api.github.com/repos/pnp/office365-cli/issues/669","number":669,"state":"open","locked":false,"title":"Added the 'spo list contenttype remove' command solving #668","user":{"login":"phawrylak","id":26418285,"node_id":"MDQ6VXNlcjI2NDE4Mjg1","avatar_url":"https://avatars0.githubusercontent.com/u/26418285?v=4","gravatar_id":"","url":"https://api.github.com/users/phawrylak","html_url":"https://github.com/phawrylak","followers_url":"https://api.github.com/users/phawrylak/followers","following_url":"https://api.github.com/users/phawrylak/following{/other_user}","gists_url":"https://api.github.com/users/phawrylak/gists{/gist_id}","starred_url":"https://api.github.com/users/phawrylak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phawrylak/subscriptions","organizations_url":"https://api.github.com/users/phawrylak/orgs","repos_url":"https://api.github.com/users/phawrylak/repos","events_url":"https://api.github.com/users/phawrylak/events{/privacy}","received_events_url":"https://api.github.com/users/phawrylak/received_events","type":"User","site_admin":false},"body":"Added the 'spo list contenttype remove' command solving #668","created_at":"2018-11-11T22:24:38Z","updated_at":"2018-11-17T11:14:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f47a8874039f94ef3b5497cea6f01832b945e7c0","assignee":{"login":"waldekmastykarz","id":11164679,"node_id":"MDQ6VXNlcjExMTY0Njc5","avatar_url":"https://avatars2.githubusercontent.com/u/11164679?v=4","gravatar_id":"","url":"https://api.github.com/users/waldekmastykarz","html_url":"https://github.com/waldekmastykarz","followers_url":"https://api.github.com/users/waldekmastykarz/followers","following_url":"https://api.github.com/users/waldekmastykarz/following{/other_user}","gists_url":"https://api.github.com/users/waldekmastykarz/gists{/gist_id}","starred_url":"https://api.github.com/users/waldekmastykarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldekmastykarz/subscriptions","organizations_url":"https://api.github.com/users/waldekmastykarz/orgs","repos_url":"https://api.github.com/users/waldekmastykarz/repos","events_url":"https://api.github.com/users/waldekmastykarz/events{/privacy}","received_events_url":"https://api.github.com/users/waldekmastykarz/received_events","type":"User","site_admin":false},"assignees":[{"login":"waldekmastykarz","id":11164679,"node_id":"MDQ6VXNlcjExMTY0Njc5","avatar_url":"https://avatars2.githubusercontent.com/u/11164679?v=4","gravatar_id":"","url":"https://api.github.com/users/waldekmastykarz","html_url":"https://github.com/waldekmastykarz","followers_url":"https://api.github.com/users/waldekmastykarz/followers","following_url":"https://api.github.com/users/waldekmastykarz/following{/other_user}","gists_url":"https://api.github.com/users/waldekmastykarz/gists{/gist_id}","starred_url":"https://api.github.com/users/waldekmastykarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldekmastykarz/subscriptions","organizations_url":"https://api.github.com/users/waldekmastykarz/orgs","repos_url":"https://api.github.com/users/waldekmastykarz/repos","events_url":"https://api.github.com/users/waldekmastykarz/events{/privacy}","received_events_url":"https://api.github.com/users/waldekmastykarz/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pnp/office365-cli/pulls/669/commits","review_comments_url":"https://api.github.com/repos/pnp/office365-cli/pulls/669/comments","review_comment_url":"https://api.github.com/repos/pnp/office365-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pnp/office365-cli/issues/669/comments","statuses_url":"https://api.github.com/repos/pnp/office365-cli/statuses/aa479c662d7406192db972adddeb4c278e921141","head":{"label":"phawrylak:feature/668-list-contenttype-remove","ref":"feature/668-list-contenttype-remove","sha":"aa479c662d7406192db972adddeb4c278e921141","user":{"login":"phawrylak","id":26418285,"node_id":"MDQ6VXNlcjI2NDE4Mjg1","avatar_url":"https://avatars0.githubusercontent.com/u/26418285?v=4","gravatar_id":"","url":"https://api.github.com/users/phawrylak","html_url":"https://github.com/phawrylak","followers_url":"https://api.github.com/users/phawrylak/followers","following_url":"https://api.github.com/users/phawrylak/following{/other_user}","gists_url":"https://api.github.com/users/phawrylak/gists{/gist_id}","starred_url":"https://api.github.com/users/phawrylak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phawrylak/subscriptions","organizations_url":"https://api.github.com/users/phawrylak/orgs","repos_url":"https://api.github.com/users/phawrylak/repos","events_url":"https://api.github.com/users/phawrylak/events{/privacy}","received_events_url":"https://api.github.com/users/phawrylak/received_events","type":"User","site_admin":false},"repo":{"id":123352570,"node_id":"MDEwOlJlcG9zaXRvcnkxMjMzNTI1NzA=","name":"office365-cli","full_name":"phawrylak/office365-cli","private":false,"owner":{"login":"phawrylak","id":26418285,"node_id":"MDQ6VXNlcjI2NDE4Mjg1","avatar_url":"https://avatars0.githubusercontent.com/u/26418285?v=4","gravatar_id":"","url":"https://api.github.com/users/phawrylak","html_url":"https://github.com/phawrylak","followers_url":"https://api.github.com/users/phawrylak/followers","following_url":"https://api.github.com/users/phawrylak/following{/other_user}","gists_url":"https://api.github.com/users/phawrylak/gists{/gist_id}","starred_url":"https://api.github.com/users/phawrylak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phawrylak/subscriptions","organizations_url":"https://api.github.com/users/phawrylak/orgs","repos_url":"https://api.github.com/users/phawrylak/repos","events_url":"https://api.github.com/users/phawrylak/events{/privacy}","received_events_url":"https://api.github.com/users/phawrylak/received_events","type":"User","site_admin":false},"html_url":"https://github.com/phawrylak/office365-cli","description":"Manage Microsoft Office 365 on any platform","fork":true,"url":"https://api.github.com/repos/phawrylak/office365-cli","forks_url":"https://api.github.com/repos/phawrylak/office365-cli/forks","keys_url":"https://api.github.com/repos/phawrylak/office365-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phawrylak/office365-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phawrylak/office365-cli/teams","hooks_url":"https://api.github.com/repos/phawrylak/office365-cli/hooks","issue_events_url":"https://api.github.com/repos/phawrylak/office365-cli/issues/events{/number}","events_url":"https://api.github.com/repos/phawrylak/office365-cli/events","assignees_url":"https://api.github.com/repos/phawrylak/office365-cli/assignees{/user}","branches_url":"https://api.github.com/repos/phawrylak/office365-cli/branches{/branch}","tags_url":"https://api.github.com/repos/phawrylak/office365-cli/tags","blobs_url":"https://api.github.com/repos/phawrylak/office365-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phawrylak/office365-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phawrylak/office365-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/phawrylak/office365-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phawrylak/office365-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/phawrylak/office365-cli/languages","stargazers_url":"https://api.github.com/repos/phawrylak/office365-cli/stargazers","contributors_url":"https://api.github.com/repos/phawrylak/office365-cli/contributors","subscribers_url":"https://api.github.com/repos/phawrylak/office365-cli/subscribers","subscription_url":"https://api.github.com/repos/phawrylak/office365-cli/subscription","commits_url":"https://api.github.com/repos/phawrylak/office365-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/phawrylak/office365-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/phawrylak/office365-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/phawrylak/office365-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/phawrylak/office365-cli/contents/{+path}","compare_url":"https://api.github.com/repos/phawrylak/office365-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phawrylak/office365-cli/merges","archive_url":"https://api.github.com/repos/phawrylak/office365-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phawrylak/office365-cli/downloads","issues_url":"https://api.github.com/repos/phawrylak/office365-cli/issues{/number}","pulls_url":"https://api.github.com/repos/phawrylak/office365-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/phawrylak/office365-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/phawrylak/office365-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phawrylak/office365-cli/labels{/name}","releases_url":"https://api.github.com/repos/phawrylak/office365-cli/releases{/id}","deployments_url":"https://api.github.com/repos/phawrylak/office365-cli/deployments","created_at":"2018-02-28T22:57:31Z","updated_at":"2018-11-11T14:18:29Z","pushed_at":"2018-11-11T22:31:27Z","git_url":"git://github.com/phawrylak/office365-cli.git","ssh_url":"git@github.com:phawrylak/office365-cli.git","clone_url":"https://github.com/phawrylak/office365-cli.git","svn_url":"https://github.com/phawrylak/office365-cli","homepage":"https://aka.ms/o365cli","size":5336,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pnp:dev","ref":"dev","sha":"52349d3e700b9a0e769c736588bb7dcbcfe6e7a7","user":{"login":"pnp","id":31443929,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNDQzOTI5","avatar_url":"https://avatars0.githubusercontent.com/u/31443929?v=4","gravatar_id":"","url":"https://api.github.com/users/pnp","html_url":"https://github.com/pnp","followers_url":"https://api.github.com/users/pnp/followers","following_url":"https://api.github.com/users/pnp/following{/other_user}","gists_url":"https://api.github.com/users/pnp/gists{/gist_id}","starred_url":"https://api.github.com/users/pnp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnp/subscriptions","organizations_url":"https://api.github.com/users/pnp/orgs","repos_url":"https://api.github.com/users/pnp/repos","events_url":"https://api.github.com/users/pnp/events{/privacy}","received_events_url":"https://api.github.com/users/pnp/received_events","type":"Organization","site_admin":false},"repo":{"id":106723305,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY3MjMzMDU=","name":"office365-cli","full_name":"pnp/office365-cli","private":false,"owner":{"login":"pnp","id":31443929,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNDQzOTI5","avatar_url":"https://avatars0.githubusercontent.com/u/31443929?v=4","gravatar_id":"","url":"https://api.github.com/users/pnp","html_url":"https://github.com/pnp","followers_url":"https://api.github.com/users/pnp/followers","following_url":"https://api.github.com/users/pnp/following{/other_user}","gists_url":"https://api.github.com/users/pnp/gists{/gist_id}","starred_url":"https://api.github.com/users/pnp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnp/subscriptions","organizations_url":"https://api.github.com/users/pnp/orgs","repos_url":"https://api.github.com/users/pnp/repos","events_url":"https://api.github.com/users/pnp/events{/privacy}","received_events_url":"https://api.github.com/users/pnp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pnp/office365-cli","description":"Manage Microsoft Office 365 and SharePoint Framework projects on any platform","fork":false,"url":"https://api.github.com/repos/pnp/office365-cli","forks_url":"https://api.github.com/repos/pnp/office365-cli/forks","keys_url":"https://api.github.com/repos/pnp/office365-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pnp/office365-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pnp/office365-cli/teams","hooks_url":"https://api.github.com/repos/pnp/office365-cli/hooks","issue_events_url":"https://api.github.com/repos/pnp/office365-cli/issues/events{/number}","events_url":"https://api.github.com/repos/pnp/office365-cli/events","assignees_url":"https://api.github.com/repos/pnp/office365-cli/assignees{/user}","branches_url":"https://api.github.com/repos/pnp/office365-cli/branches{/branch}","tags_url":"https://api.github.com/repos/pnp/office365-cli/tags","blobs_url":"https://api.github.com/repos/pnp/office365-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pnp/office365-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pnp/office365-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/pnp/office365-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pnp/office365-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/pnp/office365-cli/languages","stargazers_url":"https://api.github.com/repos/pnp/office365-cli/stargazers","contributors_url":"https://api.github.com/repos/pnp/office365-cli/contributors","subscribers_url":"https://api.github.com/repos/pnp/office365-cli/subscribers","subscription_url":"https://api.github.com/repos/pnp/office365-cli/subscription","commits_url":"https://api.github.com/repos/pnp/office365-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/pnp/office365-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/pnp/office365-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/pnp/office365-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/pnp/office365-cli/contents/{+path}","compare_url":"https://api.github.com/repos/pnp/office365-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pnp/office365-cli/merges","archive_url":"https://api.github.com/repos/pnp/office365-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pnp/office365-cli/downloads","issues_url":"https://api.github.com/repos/pnp/office365-cli/issues{/number}","pulls_url":"https://api.github.com/repos/pnp/office365-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/pnp/office365-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/pnp/office365-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pnp/office365-cli/labels{/name}","releases_url":"https://api.github.com/repos/pnp/office365-cli/releases{/id}","deployments_url":"https://api.github.com/repos/pnp/office365-cli/deployments","created_at":"2017-10-12T17:18:21Z","updated_at":"2018-11-15T18:37:00Z","pushed_at":"2018-11-17T11:05:14Z","git_url":"git://github.com/pnp/office365-cli.git","ssh_url":"git@github.com:pnp/office365-cli.git","clone_url":"https://github.com/pnp/office365-cli.git","svn_url":"https://github.com/pnp/office365-cli","homepage":"https://aka.ms/o365cli","size":8178,"stargazers_count":168,"watchers_count":168,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":56,"mirror_url":null,"archived":false,"open_issues_count":53,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":56,"open_issues":53,"watchers":168,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pnp/office365-cli/pulls/669"},"html":{"href":"https://github.com/pnp/office365-cli/pull/669"},"issue":{"href":"https://api.github.com/repos/pnp/office365-cli/issues/669"},"comments":{"href":"https://api.github.com/repos/pnp/office365-cli/issues/669/comments"},"review_comments":{"href":"https://api.github.com/repos/pnp/office365-cli/pulls/669/comments"},"review_comment":{"href":"https://api.github.com/repos/pnp/office365-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pnp/office365-cli/pulls/669/commits"},"statuses":{"href":"https://api.github.com/repos/pnp/office365-cli/statuses/aa479c662d7406192db972adddeb4c278e921141"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"waldekmastykarz"}}