{"action":"created","issue":{"url":"https://api.github.com/repos/guarinogabriel/Mac-CLI/issues/65","repository_url":"https://api.github.com/repos/guarinogabriel/Mac-CLI","labels_url":"https://api.github.com/repos/guarinogabriel/Mac-CLI/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/guarinogabriel/Mac-CLI/issues/65/comments","events_url":"https://api.github.com/repos/guarinogabriel/Mac-CLI/issues/65/events","html_url":"https://github.com/guarinogabriel/Mac-CLI/issues/65","id":163887359,"number":65,"title":"battery:status doesn't work","user":{"login":"saada","id":1087987,"avatar_url":"https://avatars.githubusercontent.com/u/1087987?v=3","gravatar_id":"","url":"https://api.github.com/users/saada","html_url":"https://github.com/saada","followers_url":"https://api.github.com/users/saada/followers","following_url":"https://api.github.com/users/saada/following{/other_user}","gists_url":"https://api.github.com/users/saada/gists{/gist_id}","starred_url":"https://api.github.com/users/saada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saada/subscriptions","organizations_url":"https://api.github.com/users/saada/orgs","repos_url":"https://api.github.com/users/saada/repos","events_url":"https://api.github.com/users/saada/events{/privacy}","received_events_url":"https://api.github.com/users/saada/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-05T16:06:13Z","updated_at":"2016-07-07T02:53:44Z","closed_at":null,"body":"```bash\r\n$ mac battery:status\r\nsystem_profiler SPPowerDataType | awk '/Full/ || /Remaining/ || /Cycle/ { echo }' | sed -e 's/[^:]*/Battery/' -e 's/ *R.*):./\\//' -e 's/ *Cycle/ (mAh)     Cycle/'\r\n\r\n\r\nawk: illegal statement\r\n input record number 15, file\r\n source line number 1\r\n```\r\n\r\nOSX 10.11.6 Beta (15G24b)"},"comment":{"url":"https://api.github.com/repos/guarinogabriel/Mac-CLI/issues/comments/230966106","html_url":"https://github.com/guarinogabriel/Mac-CLI/issues/65#issuecomment-230966106","issue_url":"https://api.github.com/repos/guarinogabriel/Mac-CLI/issues/65","id":230966106,"user":{"login":"saada","id":1087987,"avatar_url":"https://avatars.githubusercontent.com/u/1087987?v=3","gravatar_id":"","url":"https://api.github.com/users/saada","html_url":"https://github.com/saada","followers_url":"https://api.github.com/users/saada/followers","following_url":"https://api.github.com/users/saada/following{/other_user}","gists_url":"https://api.github.com/users/saada/gists{/gist_id}","starred_url":"https://api.github.com/users/saada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saada/subscriptions","organizations_url":"https://api.github.com/users/saada/orgs","repos_url":"https://api.github.com/users/saada/repos","events_url":"https://api.github.com/users/saada/events{/privacy}","received_events_url":"https://api.github.com/users/saada/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T02:53:44Z","updated_at":"2016-07-07T02:53:44Z","body":"With my very primitive awk skills:\r\n```bash\r\n$ system_profiler SPPowerDataType | awk '/Full/ || /Remaining/ || /Cycle/ {print}' | awk '{print $1 \" \" $2 \" \" $3 \" \" $4 \" \" $5}'\r\nCharge Remaining (mAh): 7290\r\nFully Charged: Yes\r\nFull Charge Capacity (mAh): 7381\r\nCycle Count: 941\r\n```"}}
{"actor":{"display_login":"saada"}}