{"action":"created","issue":{"url":"https://api.github.com/repos/forumone/wp-cfm/issues/41","labels_url":"https://api.github.com/repos/forumone/wp-cfm/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/forumone/wp-cfm/issues/41/comments","events_url":"https://api.github.com/repos/forumone/wp-cfm/issues/41/events","html_url":"https://github.com/forumone/wp-cfm/issues/41","id":95263757,"number":41,"title":"Add Git integration to WP-CLI integration","user":{"login":"arh1","id":427692,"avatar_url":"https://avatars.githubusercontent.com/u/427692?v=3","gravatar_id":"","url":"https://api.github.com/users/arh1","html_url":"https://github.com/arh1","followers_url":"https://api.github.com/users/arh1/followers","following_url":"https://api.github.com/users/arh1/following{/other_user}","gists_url":"https://api.github.com/users/arh1/gists{/gist_id}","starred_url":"https://api.github.com/users/arh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arh1/subscriptions","organizations_url":"https://api.github.com/users/arh1/orgs","repos_url":"https://api.github.com/users/arh1/repos","events_url":"https://api.github.com/users/arh1/events{/privacy}","received_events_url":"https://api.github.com/users/arh1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/forumone/wp-cfm/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-15T18:47:35Z","updated_at":"2015-07-15T21:26:38Z","closed_at":null,"body":"We should add Git integration along with our WP-CLI integration, such that we can interact with a project's Git repo via options passed to config push from cli.  We'll be working on the following options (each of which we'll split out into their own issue):\r\n\r\n* wp config push --add  # Runs “git add” after export.\r\n* wp config push --branch=[name] # Create a new branch before committing\r\n* wp config push --commit # Add and commit to git after exporting.\r\n* wp config push --message # Commit message, used with --commit / --push\r\n* wp config push --push # Also runs git push after committing.\r\n* wp config push --remote # Select which remote to push to.\r\n"},"comment":{"url":"https://api.github.com/repos/forumone/wp-cfm/issues/comments/121755258","html_url":"https://github.com/forumone/wp-cfm/issues/41#issuecomment-121755258","issue_url":"https://api.github.com/repos/forumone/wp-cfm/issues/41","id":121755258,"user":{"login":"jmslbam","id":145887,"avatar_url":"https://avatars.githubusercontent.com/u/145887?v=3","gravatar_id":"","url":"https://api.github.com/users/jmslbam","html_url":"https://github.com/jmslbam","followers_url":"https://api.github.com/users/jmslbam/followers","following_url":"https://api.github.com/users/jmslbam/following{/other_user}","gists_url":"https://api.github.com/users/jmslbam/gists{/gist_id}","starred_url":"https://api.github.com/users/jmslbam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmslbam/subscriptions","organizations_url":"https://api.github.com/users/jmslbam/orgs","repos_url":"https://api.github.com/users/jmslbam/repos","events_url":"https://api.github.com/users/jmslbam/events{/privacy}","received_events_url":"https://api.github.com/users/jmslbam/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T21:26:38Z","updated_at":"2015-07-15T21:26:38Z","body":"I don't know why you want extra code/functionality  like this just to mimic git and a git kind of flow.  Not that this is my repo or plugin to decide btw.  But these are all things that you already can do and should be all solved beyond/outside of the scope of this plugin.\r\nFor example,  WP-CLI doesn't have a bunch of combined commands because you could do it by piping bash output to another WP-CLI command.  \r\nYou also need to support all of that code and probably be adding why to much not related to config.  Besides that,  not everyone uses Git as their main version control.  But that last argument shouldn't be the main reason to decline a PR.  \r\nWrapping Git isn't the purpose of this plugin. Keep focus on it's core functionality. \r\nAnd if you still want it.  Wrap WP-CFM in a new command so you can split the code, because you can call WP-CLI command from your PHP and pass arguments to it. \r\nJust my 50cents. Ciao! "}}