{"action":"created","issue":{"url":"https://api.github.com/repos/AljoschaMeyer/chainable-command/issues/2","repository_url":"https://api.github.com/repos/AljoschaMeyer/chainable-command","labels_url":"https://api.github.com/repos/AljoschaMeyer/chainable-command/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/AljoschaMeyer/chainable-command/issues/2/comments","events_url":"https://api.github.com/repos/AljoschaMeyer/chainable-command/issues/2/events","html_url":"https://github.com/AljoschaMeyer/chainable-command/issues/2","id":138438393,"number":2,"title":"Operand handling","user":{"login":"AljoschaMeyer","id":12977795,"avatar_url":"https://avatars.githubusercontent.com/u/12977795?v=3","gravatar_id":"","url":"https://api.github.com/users/AljoschaMeyer","html_url":"https://github.com/AljoschaMeyer","followers_url":"https://api.github.com/users/AljoschaMeyer/followers","following_url":"https://api.github.com/users/AljoschaMeyer/following{/other_user}","gists_url":"https://api.github.com/users/AljoschaMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/AljoschaMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AljoschaMeyer/subscriptions","organizations_url":"https://api.github.com/users/AljoschaMeyer/orgs","repos_url":"https://api.github.com/users/AljoschaMeyer/repos","events_url":"https://api.github.com/users/AljoschaMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/AljoschaMeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"AljoschaMeyer","id":12977795,"avatar_url":"https://avatars.githubusercontent.com/u/12977795?v=3","gravatar_id":"","url":"https://api.github.com/users/AljoschaMeyer","html_url":"https://github.com/AljoschaMeyer","followers_url":"https://api.github.com/users/AljoschaMeyer/followers","following_url":"https://api.github.com/users/AljoschaMeyer/following{/other_user}","gists_url":"https://api.github.com/users/AljoschaMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/AljoschaMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AljoschaMeyer/subscriptions","organizations_url":"https://api.github.com/users/AljoschaMeyer/orgs","repos_url":"https://api.github.com/users/AljoschaMeyer/repos","events_url":"https://api.github.com/users/AljoschaMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/AljoschaMeyer/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-04T10:24:38Z","updated_at":"2016-03-04T13:40:30Z","closed_at":null,"body":"Currently not providing special handling of operands, because they are expected to be piped into stdin after initialization. This does not work for some commands (e.g. `echo foo | grep bar`), so CommandInstance needs to know about operands.\r\n\r\nConvenient abstraction will be left for higher level frameworks."},"comment":{"url":"https://api.github.com/repos/AljoschaMeyer/chainable-command/issues/comments/192287563","html_url":"https://github.com/AljoschaMeyer/chainable-command/issues/2#issuecomment-192287563","issue_url":"https://api.github.com/repos/AljoschaMeyer/chainable-command/issues/2","id":192287563,"user":{"login":"AljoschaMeyer","id":12977795,"avatar_url":"https://avatars.githubusercontent.com/u/12977795?v=3","gravatar_id":"","url":"https://api.github.com/users/AljoschaMeyer","html_url":"https://github.com/AljoschaMeyer","followers_url":"https://api.github.com/users/AljoschaMeyer/followers","following_url":"https://api.github.com/users/AljoschaMeyer/following{/other_user}","gists_url":"https://api.github.com/users/AljoschaMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/AljoschaMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AljoschaMeyer/subscriptions","organizations_url":"https://api.github.com/users/AljoschaMeyer/orgs","repos_url":"https://api.github.com/users/AljoschaMeyer/repos","events_url":"https://api.github.com/users/AljoschaMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/AljoschaMeyer/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T13:40:30Z","updated_at":"2016-03-04T13:40:30Z","body":"Proposed solution: Add `this.operands` to the context of the lifecycle functions. How the value for that is supplied is left for the user of CommandInstance, e.g. a parser."}}