{"action":"created","issue":{"url":"https://api.github.com/repos/pnp/office365-cli/issues/627","repository_url":"https://api.github.com/repos/pnp/office365-cli","labels_url":"https://api.github.com/repos/pnp/office365-cli/issues/627/labels{/name}","comments_url":"https://api.github.com/repos/pnp/office365-cli/issues/627/comments","events_url":"https://api.github.com/repos/pnp/office365-cli/issues/627/events","html_url":"https://github.com/pnp/office365-cli/issues/627","id":366463480,"node_id":"MDU6SXNzdWUzNjY0NjM0ODA=","number":627,"title":"Support pipe into commands","user":{"login":"baywet","id":7905502,"node_id":"MDQ6VXNlcjc5MDU1MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/7905502?v=4","gravatar_id":"","url":"https://api.github.com/users/baywet","html_url":"https://github.com/baywet","followers_url":"https://api.github.com/users/baywet/followers","following_url":"https://api.github.com/users/baywet/following{/other_user}","gists_url":"https://api.github.com/users/baywet/gists{/gist_id}","starred_url":"https://api.github.com/users/baywet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baywet/subscriptions","organizations_url":"https://api.github.com/users/baywet/orgs","repos_url":"https://api.github.com/users/baywet/repos","events_url":"https://api.github.com/users/baywet/events{/privacy}","received_events_url":"https://api.github.com/users/baywet/received_events","type":"User","site_admin":false},"labels":[{"id":718115090,"node_id":"MDU6TGFiZWw3MTgxMTUwOTA=","url":"https://api.github.com/repos/pnp/office365-cli/labels/enhancement","name":"enhancement","color":"a6db15","default":true},{"id":745748476,"node_id":"MDU6TGFiZWw3NDU3NDg0NzY=","url":"https://api.github.com/repos/pnp/office365-cli/labels/needs%20discussion","name":"needs discussion","color":"bfdadc","default":false},{"id":745750082,"node_id":"MDU6TGFiZWw3NDU3NTAwODI=","url":"https://api.github.com/repos/pnp/office365-cli/labels/needs%20review","name":"needs review","color":"fad8c7","default":false}],"state":"open","locked":false,"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}],"milestone":null,"comments":1,"created_at":"2018-10-03T18:13:32Z","updated_at":"2018-10-03T18:33:35Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Let's assume somebody wants to write the following command `spo site list | spo app install` (imagine some filters in the site collection selection and an app id provided).  \r\nToday that's not possible because commands don't support pipe input.\r\nMore context https://github.com/pnp/office365-cli/pull/624#issuecomment-426727846"},"comment":{"url":"https://api.github.com/repos/pnp/office365-cli/issues/comments/426747825","html_url":"https://github.com/pnp/office365-cli/issues/627#issuecomment-426747825","issue_url":"https://api.github.com/repos/pnp/office365-cli/issues/627","id":426747825,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjc0NzgyNQ==","user":{"login":"baywet","id":7905502,"node_id":"MDQ6VXNlcjc5MDU1MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/7905502?v=4","gravatar_id":"","url":"https://api.github.com/users/baywet","html_url":"https://github.com/baywet","followers_url":"https://api.github.com/users/baywet/followers","following_url":"https://api.github.com/users/baywet/following{/other_user}","gists_url":"https://api.github.com/users/baywet/gists{/gist_id}","starred_url":"https://api.github.com/users/baywet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baywet/subscriptions","organizations_url":"https://api.github.com/users/baywet/orgs","repos_url":"https://api.github.com/users/baywet/repos","events_url":"https://api.github.com/users/baywet/events{/privacy}","received_events_url":"https://api.github.com/users/baywet/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T18:33:35Z","updated_at":"2018-10-03T18:33:35Z","author_association":"CONTRIBUTOR","body":"As far as I remember from my PowerShell cmdlet development, the way it's done in PS is you handle it through declaring the types that can be piped in and testing the type when you get something. You can also declare associations between parameters and piped types so if I'm piping a bunch of site collections, the site parameter is disabled (for auto-completion/availability).\r\n"}}
{"actor":{"display_login":"baywet"}}