{"action":"created","issue":{"url":"https://api.github.com/repos/erikdoe/ccmenu/issues/56","repository_url":"https://api.github.com/repos/erikdoe/ccmenu","labels_url":"https://api.github.com/repos/erikdoe/ccmenu/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/erikdoe/ccmenu/issues/56/comments","events_url":"https://api.github.com/repos/erikdoe/ccmenu/issues/56/events","html_url":"https://github.com/erikdoe/ccmenu/issues/56","id":143267157,"number":56,"title":"Enhancement: Adding a CLI Tool","user":{"login":"johnkchow","id":595757,"avatar_url":"https://avatars.githubusercontent.com/u/595757?v=3","gravatar_id":"","url":"https://api.github.com/users/johnkchow","html_url":"https://github.com/johnkchow","followers_url":"https://api.github.com/users/johnkchow/followers","following_url":"https://api.github.com/users/johnkchow/following{/other_user}","gists_url":"https://api.github.com/users/johnkchow/gists{/gist_id}","starred_url":"https://api.github.com/users/johnkchow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnkchow/subscriptions","organizations_url":"https://api.github.com/users/johnkchow/orgs","repos_url":"https://api.github.com/users/johnkchow/repos","events_url":"https://api.github.com/users/johnkchow/events{/privacy}","received_events_url":"https://api.github.com/users/johnkchow/received_events","type":"User","site_admin":false},"labels":[{"id":161981564,"url":"https://api.github.com/repos/erikdoe/ccmenu/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-24T14:50:57Z","updated_at":"2016-12-15T22:32:58Z","closed_at":null,"body":"First off: great tool, I think it's fantastic that you've provided this tool, and I want to let you know that I definitely appreciate it!\n\nSo we use CircleCI at my company, and new test builds will run on every `git push` for all branches. CircleCI has email notifications on build successes, but they won't allow granular control over which branch you're interested in. \n\nSo the ask: let's say I have a branch called `feature-branch-1` and I push new commits to it, CircleCI will run new builds, and the build status feed URL is a function of the branch name. Thus, what would be sweet is to leverage a new CLI tool that could add/remove project URLs into CCMenu. That way I can write simple bash scripts that wraps the logic around 1) handling git push and 2) adding the project URL to CCMenu like so:\n\n``` bash\ngit push origin feature-branch-1\nccmenu add \"https://circleci.com/gh/johnkchow/some-repo/tree/feature-branch-1.cc.xml?circle-token=$CIRCLE_CI_TOKEN\"\n```\n\nJust a thought, thanks!\n"},"comment":{"url":"https://api.github.com/repos/erikdoe/ccmenu/issues/comments/267464142","html_url":"https://github.com/erikdoe/ccmenu/issues/56#issuecomment-267464142","issue_url":"https://api.github.com/repos/erikdoe/ccmenu/issues/56","id":267464142,"user":{"login":"erikdoe","id":954026,"avatar_url":"https://avatars.githubusercontent.com/u/954026?v=3","gravatar_id":"","url":"https://api.github.com/users/erikdoe","html_url":"https://github.com/erikdoe","followers_url":"https://api.github.com/users/erikdoe/followers","following_url":"https://api.github.com/users/erikdoe/following{/other_user}","gists_url":"https://api.github.com/users/erikdoe/gists{/gist_id}","starred_url":"https://api.github.com/users/erikdoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikdoe/subscriptions","organizations_url":"https://api.github.com/users/erikdoe/orgs","repos_url":"https://api.github.com/users/erikdoe/repos","events_url":"https://api.github.com/users/erikdoe/events{/privacy}","received_events_url":"https://api.github.com/users/erikdoe/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T22:32:58Z","updated_at":"2016-12-15T22:32:58Z","body":"@johnkchow I guess you realised this already: with the URL schemes, the implementors of CI servers can now provide links on the webpages served by the server that users can click to add projects to their CCMenu..."}}
{"actor":{"display_login":"erikdoe"}}