{"action":"created","issue":{"url":"https://api.github.com/repos/PROOF-Analysis-Framework/PROOF-Analysis-Framework/issues/4","labels_url":"https://api.github.com/repos/PROOF-Analysis-Framework/PROOF-Analysis-Framework/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/PROOF-Analysis-Framework/PROOF-Analysis-Framework/issues/4/comments","events_url":"https://api.github.com/repos/PROOF-Analysis-Framework/PROOF-Analysis-Framework/issues/4/events","html_url":"https://github.com/PROOF-Analysis-Framework/PROOF-Analysis-Framework/issues/4","id":76036455,"number":4,"title":"Inspect Tree should provide code snippets","user":{"login":"iglezh","id":5862765,"avatar_url":"https://avatars.githubusercontent.com/u/5862765?v=3","gravatar_id":"","url":"https://api.github.com/users/iglezh","html_url":"https://github.com/iglezh","followers_url":"https://api.github.com/users/iglezh/followers","following_url":"https://api.github.com/users/iglezh/following{/other_user}","gists_url":"https://api.github.com/users/iglezh/gists{/gist_id}","starred_url":"https://api.github.com/users/iglezh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iglezh/subscriptions","organizations_url":"https://api.github.com/users/iglezh/orgs","repos_url":"https://api.github.com/users/iglezh/repos","events_url":"https://api.github.com/users/iglezh/events{/privacy}","received_events_url":"https://api.github.com/users/iglezh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PROOF-Analysis-Framework/PROOF-Analysis-Framework/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"JavierDelgadoFernandez","id":6481083,"avatar_url":"https://avatars.githubusercontent.com/u/6481083?v=3","gravatar_id":"","url":"https://api.github.com/users/JavierDelgadoFernandez","html_url":"https://github.com/JavierDelgadoFernandez","followers_url":"https://api.github.com/users/JavierDelgadoFernandez/followers","following_url":"https://api.github.com/users/JavierDelgadoFernandez/following{/other_user}","gists_url":"https://api.github.com/users/JavierDelgadoFernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/JavierDelgadoFernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavierDelgadoFernandez/subscriptions","organizations_url":"https://api.github.com/users/JavierDelgadoFernandez/orgs","repos_url":"https://api.github.com/users/JavierDelgadoFernandez/repos","events_url":"https://api.github.com/users/JavierDelgadoFernandez/events{/privacy}","received_events_url":"https://api.github.com/users/JavierDelgadoFernandez/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-13T16:04:45Z","updated_at":"2015-05-27T14:20:15Z","closed_at":null,"body":"An option in the inspect tree functionality could print a code snippet to be copied and pasted in a selector for the branches in the tree."},"comment":{"url":"https://api.github.com/repos/PROOF-Analysis-Framework/PROOF-Analysis-Framework/issues/comments/105928679","html_url":"https://github.com/PROOF-Analysis-Framework/PROOF-Analysis-Framework/issues/4#issuecomment-105928679","issue_url":"https://api.github.com/repos/PROOF-Analysis-Framework/PROOF-Analysis-Framework/issues/4","id":105928679,"user":{"login":"JavierDelgadoFernandez","id":6481083,"avatar_url":"https://avatars.githubusercontent.com/u/6481083?v=3","gravatar_id":"","url":"https://api.github.com/users/JavierDelgadoFernandez","html_url":"https://github.com/JavierDelgadoFernandez","followers_url":"https://api.github.com/users/JavierDelgadoFernandez/followers","following_url":"https://api.github.com/users/JavierDelgadoFernandez/following{/other_user}","gists_url":"https://api.github.com/users/JavierDelgadoFernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/JavierDelgadoFernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavierDelgadoFernandez/subscriptions","organizations_url":"https://api.github.com/users/JavierDelgadoFernandez/orgs","repos_url":"https://api.github.com/users/JavierDelgadoFernandez/repos","events_url":"https://api.github.com/users/JavierDelgadoFernandez/events{/privacy}","received_events_url":"https://api.github.com/users/JavierDelgadoFernandez/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T14:20:15Z","updated_at":"2015-05-27T14:20:15Z","body":"This feature has been added in commit [a5c5c54](https://github.com/PROOF-Analysis-Framework/PROOF-Analysis-Framework/commit/a5c5c546011da98c5d94ccfbef88786a046aba26). \r\nNow you can use \"-s\" or \"--snippet\" parameter in command to show a code snippet. For example \"paf inspecttree -s Tree.root\". Output:\r\n\r\n(...)\r\nType: Float_t           Variable: T_MET_Phi_UnclusteredEnDown\r\nUse: \"Float_t T_MET_Phi_UnclusteredEnDown = Get<Float_t>(\"T_MET_Phi_UnclusteredEnDown\")\".\r\n(...)"}}