{"action":"closed","issue":{"url":"https://api.github.com/repos/nbu/node-menu/issues/3","labels_url":"https://api.github.com/repos/nbu/node-menu/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/nbu/node-menu/issues/3/comments","events_url":"https://api.github.com/repos/nbu/node-menu/issues/3/events","html_url":"https://github.com/nbu/node-menu/issues/3","id":105863654,"number":3,"title":"Add chaining support","user":{"login":"nohorbee","id":2273179,"avatar_url":"https://avatars.githubusercontent.com/u/2273179?v=3","gravatar_id":"","url":"https://api.github.com/users/nohorbee","html_url":"https://github.com/nohorbee","followers_url":"https://api.github.com/users/nohorbee/followers","following_url":"https://api.github.com/users/nohorbee/following{/other_user}","gists_url":"https://api.github.com/users/nohorbee/gists{/gist_id}","starred_url":"https://api.github.com/users/nohorbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nohorbee/subscriptions","organizations_url":"https://api.github.com/users/nohorbee/orgs","repos_url":"https://api.github.com/users/nohorbee/repos","events_url":"https://api.github.com/users/nohorbee/events{/privacy}","received_events_url":"https://api.github.com/users/nohorbee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-10T17:58:12Z","updated_at":"2015-11-09T17:58:53Z","closed_at":"2015-11-09T17:58:53Z","body":"If the add* methods returned the menu object, you could write things like this:\r\n```\r\nmenu\r\n  .addDelimiter('*', 33, 'Main Menu')\r\n  .addItem(\r\n    'Import File', \r\n    importFile,\r\n    null,\r\n    [\r\n        {'name': 'File Path', 'type': 'string'}\r\n    ])\r\n  .addDelimiter('-', 33, 'Per process')\r\n  .addItem(\r\n    'Slowest'\r\n    )\r\n  .addItem(\r\n```\r\n"}}