{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cordova-common/issues/38","repository_url":"https://api.github.com/repos/apache/cordova-common","labels_url":"https://api.github.com/repos/apache/cordova-common/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/apache/cordova-common/issues/38/comments","events_url":"https://api.github.com/repos/apache/cordova-common/issues/38/events","html_url":"https://github.com/apache/cordova-common/issues/38","id":350776571,"node_id":"MDU6SXNzdWUzNTA3NzY1NzE=","number":38,"title":"Fluent interface for ConfigParser","user":{"login":"raphinesse","id":1006620,"node_id":"MDQ6VXNlcjEwMDY2MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1006620?v=4","gravatar_id":"","url":"https://api.github.com/users/raphinesse","html_url":"https://github.com/raphinesse","followers_url":"https://api.github.com/users/raphinesse/followers","following_url":"https://api.github.com/users/raphinesse/following{/other_user}","gists_url":"https://api.github.com/users/raphinesse/gists{/gist_id}","starred_url":"https://api.github.com/users/raphinesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphinesse/subscriptions","organizations_url":"https://api.github.com/users/raphinesse/orgs","repos_url":"https://api.github.com/users/raphinesse/repos","events_url":"https://api.github.com/users/raphinesse/events{/privacy}","received_events_url":"https://api.github.com/users/raphinesse/received_events","type":"User","site_admin":false},"labels":[{"id":490033014,"node_id":"MDU6TGFiZWw0OTAwMzMwMTQ=","url":"https://api.github.com/repos/apache/cordova-common/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-15T11:31:33Z","updated_at":"2018-08-15T20:45:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Implement a [Fluent interface](https://en.wikipedia.org/wiki/Fluent_interface) for `ConfigParser`.\r\n\r\nAs a developer, I want to do\r\n```js\r\nnew ConfigParser('...')\r\n    .addEngine(...)\r\n    .addPlugin(...)\r\n    .write();\r\n```\r\n\r\nShould be possible as a non-breaking change. If in doubt, we could export something like the following as a first step:\r\n```js\r\nclass FluentConfigParser extends ConfigParser {\r\n    addPlugin (...args) {\r\n        return (super.addPlugin(...args), this);\r\n    }\r\n    addEngine (...args) {\r\n        return (super.addEngine(...args), this);\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/apache/cordova-common/issues/comments/413330180","html_url":"https://github.com/apache/cordova-common/issues/38#issuecomment-413330180","issue_url":"https://api.github.com/repos/apache/cordova-common/issues/38","id":413330180,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzMzMDE4MA==","user":{"login":"dpogue","id":241708,"node_id":"MDQ6VXNlcjI0MTcwOA==","avatar_url":"https://avatars3.githubusercontent.com/u/241708?v=4","gravatar_id":"","url":"https://api.github.com/users/dpogue","html_url":"https://github.com/dpogue","followers_url":"https://api.github.com/users/dpogue/followers","following_url":"https://api.github.com/users/dpogue/following{/other_user}","gists_url":"https://api.github.com/users/dpogue/gists{/gist_id}","starred_url":"https://api.github.com/users/dpogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpogue/subscriptions","organizations_url":"https://api.github.com/users/dpogue/orgs","repos_url":"https://api.github.com/users/dpogue/repos","events_url":"https://api.github.com/users/dpogue/events{/privacy}","received_events_url":"https://api.github.com/users/dpogue/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T20:45:20Z","updated_at":"2018-08-15T20:45:20Z","author_association":"MEMBER","body":"This would be good, however I think we're wanting to move plugins/platforms out of ConfigParser (and hence config.xml). I'll make sure my suggestion for PackageHelper supports this though."}}
{"actor":{"display_login":"dpogue"}}