{"action":"opened","issue":{"url":"https://api.github.com/repos/talanis85/mailsh/issues/2","repository_url":"https://api.github.com/repos/talanis85/mailsh","labels_url":"https://api.github.com/repos/talanis85/mailsh/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/talanis85/mailsh/issues/2/comments","events_url":"https://api.github.com/repos/talanis85/mailsh/issues/2/events","html_url":"https://github.com/talanis85/mailsh/issues/2","id":360620782,"node_id":"MDU6SXNzdWUzNjA2MjA3ODI=","number":2,"title":"Custom format for 'headers'","user":{"login":"talanis85","id":357859,"node_id":"MDQ6VXNlcjM1Nzg1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/357859?v=4","gravatar_id":"","url":"https://api.github.com/users/talanis85","html_url":"https://github.com/talanis85","followers_url":"https://api.github.com/users/talanis85/followers","following_url":"https://api.github.com/users/talanis85/following{/other_user}","gists_url":"https://api.github.com/users/talanis85/gists{/gist_id}","starred_url":"https://api.github.com/users/talanis85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talanis85/subscriptions","organizations_url":"https://api.github.com/users/talanis85/orgs","repos_url":"https://api.github.com/users/talanis85/repos","events_url":"https://api.github.com/users/talanis85/events{/privacy}","received_events_url":"https://api.github.com/users/talanis85/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-16T09:17:48Z","updated_at":"2018-09-16T09:17:48Z","closed_at":null,"author_association":"OWNER","body":"Currently, the 'headers' command is taylored solely for human reading.\r\n\r\nTo faciliate the use in scripts, it would be nice if you could modify the format the printed headers.\r\nFor example, a script might want to traverse over all messages matching a filter expression. Then 'headers' should only print message numbers.\r\n\r\nWe would need a new option to 'headers', like this\r\n\r\n    mailsh headers -f \"<format string>\"\r\n\r\nWhere `<format string>` could be a printf-style string with placeholders for number, subject, date, from, to etc."}}
{"actor":{"display_login":"talanis85"}}