{"action":"created","comment":{"url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/comments/27377636","id":27377636,"diff_hunk":"@@ -0,0 +1,250 @@\n+<?php\n+\n+namespace Becklyn\\MysqlDumpBundle\\Command;\n+\n+use Symfony\\Bundle\\FrameworkBundle\\Command\\ContainerAwareCommand;\n+use Symfony\\Component\\Console\\Input\\InputInterface;\n+use Symfony\\Component\\Console\\Input\\InputOption;\n+use Symfony\\Component\\Console\\Output\\OutputInterface;\n+use Symfony\\Component\\Filesystem\\Filesystem;\n+use Symfony\\Component\\Process\\Process;\n+\n+/**\n+ * Handles the importing of the images from the command line\n+ */\n+class DumpCommand extends ContainerAwareCommand\n+{\n+    /**\n+     * {@inheritdoc}\n+     */\n+    protected function configure ()\n+    {\n+        $this\n+            ->setName('becklyn:db:dump')\n+            ->setDescription('Dumps the configured or given Databases using \\'mysqldump\\' to .sql files.')\n+            ->addOption(\n+                'databases',\n+                'd',\n+                InputOption::VALUE_REQUIRED,\n+                'If provided it overrides the values from the <info>config.yml</info>. Multiple Database names are separated by <info>comma (,)</info>',","path":"Command/DumpCommand.php","position":29,"original_position":29,"commit_id":"818ee38240a35c51abdfcfb9eddd0e9b12089166","original_commit_id":"818ee38240a35c51abdfcfb9eddd0e9b12089166","user":{"login":"apfelbox","id":1032411,"avatar_url":"https://avatars.githubusercontent.com/u/1032411?v=3","gravatar_id":"","url":"https://api.github.com/users/apfelbox","html_url":"https://github.com/apfelbox","followers_url":"https://api.github.com/users/apfelbox/followers","following_url":"https://api.github.com/users/apfelbox/following{/other_user}","gists_url":"https://api.github.com/users/apfelbox/gists{/gist_id}","starred_url":"https://api.github.com/users/apfelbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apfelbox/subscriptions","organizations_url":"https://api.github.com/users/apfelbox/orgs","repos_url":"https://api.github.com/users/apfelbox/repos","events_url":"https://api.github.com/users/apfelbox/events{/privacy}","received_events_url":"https://api.github.com/users/apfelbox/received_events","type":"User","site_admin":false},"body":"The overriding should be mentioned in the docs, not here IMO.","created_at":"2015-03-30T09:52:47Z","updated_at":"2015-03-30T09:52:47Z","html_url":"https://github.com/Becklyn/BecklynMysqlDumpBundle/pull/1#discussion_r27377636","pull_request_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/comments/27377636"},"html":{"href":"https://github.com/Becklyn/BecklynMysqlDumpBundle/pull/1#discussion_r27377636"},"pull_request":{"href":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/1","id":32209023,"html_url":"https://github.com/Becklyn/BecklynMysqlDumpBundle/pull/1","diff_url":"https://github.com/Becklyn/BecklynMysqlDumpBundle/pull/1.diff","patch_url":"https://github.com/Becklyn/BecklynMysqlDumpBundle/pull/1.patch","issue_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/issues/1","number":1,"state":"open","locked":false,"title":"Initial MysqlDumpBundle commit","user":{"login":"cH40z-Lord","id":439899,"avatar_url":"https://avatars.githubusercontent.com/u/439899?v=3","gravatar_id":"","url":"https://api.github.com/users/cH40z-Lord","html_url":"https://github.com/cH40z-Lord","followers_url":"https://api.github.com/users/cH40z-Lord/followers","following_url":"https://api.github.com/users/cH40z-Lord/following{/other_user}","gists_url":"https://api.github.com/users/cH40z-Lord/gists{/gist_id}","starred_url":"https://api.github.com/users/cH40z-Lord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cH40z-Lord/subscriptions","organizations_url":"https://api.github.com/users/cH40z-Lord/orgs","repos_url":"https://api.github.com/users/cH40z-Lord/repos","events_url":"https://api.github.com/users/cH40z-Lord/events{/privacy}","received_events_url":"https://api.github.com/users/cH40z-Lord/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-30T09:11:56Z","updated_at":"2015-03-30T09:52:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23adce013b88571d78e5a8c1d087cbac2a7ef499","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/issues/1/comments","statuses_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/statuses/818ee38240a35c51abdfcfb9eddd0e9b12089166","head":{"label":"cH40z-Lord:master","ref":"master","sha":"818ee38240a35c51abdfcfb9eddd0e9b12089166","user":{"login":"cH40z-Lord","id":439899,"avatar_url":"https://avatars.githubusercontent.com/u/439899?v=3","gravatar_id":"","url":"https://api.github.com/users/cH40z-Lord","html_url":"https://github.com/cH40z-Lord","followers_url":"https://api.github.com/users/cH40z-Lord/followers","following_url":"https://api.github.com/users/cH40z-Lord/following{/other_user}","gists_url":"https://api.github.com/users/cH40z-Lord/gists{/gist_id}","starred_url":"https://api.github.com/users/cH40z-Lord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cH40z-Lord/subscriptions","organizations_url":"https://api.github.com/users/cH40z-Lord/orgs","repos_url":"https://api.github.com/users/cH40z-Lord/repos","events_url":"https://api.github.com/users/cH40z-Lord/events{/privacy}","received_events_url":"https://api.github.com/users/cH40z-Lord/received_events","type":"User","site_admin":false},"repo":{"id":33113406,"name":"BecklynMysqlDumpBundle","full_name":"cH40z-Lord/BecklynMysqlDumpBundle","owner":{"login":"cH40z-Lord","id":439899,"avatar_url":"https://avatars.githubusercontent.com/u/439899?v=3","gravatar_id":"","url":"https://api.github.com/users/cH40z-Lord","html_url":"https://github.com/cH40z-Lord","followers_url":"https://api.github.com/users/cH40z-Lord/followers","following_url":"https://api.github.com/users/cH40z-Lord/following{/other_user}","gists_url":"https://api.github.com/users/cH40z-Lord/gists{/gist_id}","starred_url":"https://api.github.com/users/cH40z-Lord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cH40z-Lord/subscriptions","organizations_url":"https://api.github.com/users/cH40z-Lord/orgs","repos_url":"https://api.github.com/users/cH40z-Lord/repos","events_url":"https://api.github.com/users/cH40z-Lord/events{/privacy}","received_events_url":"https://api.github.com/users/cH40z-Lord/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cH40z-Lord/BecklynMysqlDumpBundle","description":"A symfony 2 bundle that uses mysqldump to dump the associated databases.","fork":true,"url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle","forks_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/forks","keys_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/teams","hooks_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/hooks","issue_events_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/issues/events{/number}","events_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/events","assignees_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/assignees{/user}","branches_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/branches{/branch}","tags_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/tags","blobs_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/languages","stargazers_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/stargazers","contributors_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/contributors","subscribers_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/subscribers","subscription_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/subscription","commits_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/contents/{+path}","compare_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/merges","archive_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/downloads","issues_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/issues{/number}","pulls_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/labels{/name}","releases_url":"https://api.github.com/repos/cH40z-Lord/BecklynMysqlDumpBundle/releases{/id}","created_at":"2015-03-30T09:09:59Z","updated_at":"2015-03-30T09:10:41Z","pushed_at":"2015-03-30T09:10:41Z","git_url":"git://github.com/cH40z-Lord/BecklynMysqlDumpBundle.git","ssh_url":"git@github.com:cH40z-Lord/BecklynMysqlDumpBundle.git","clone_url":"https://github.com/cH40z-Lord/BecklynMysqlDumpBundle.git","svn_url":"https://github.com/cH40z-Lord/BecklynMysqlDumpBundle","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Becklyn:master","ref":"master","sha":"775d57f61872820feed003e54198b63ad1df09f8","user":{"login":"Becklyn","id":1044355,"avatar_url":"https://avatars.githubusercontent.com/u/1044355?v=3","gravatar_id":"","url":"https://api.github.com/users/Becklyn","html_url":"https://github.com/Becklyn","followers_url":"https://api.github.com/users/Becklyn/followers","following_url":"https://api.github.com/users/Becklyn/following{/other_user}","gists_url":"https://api.github.com/users/Becklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Becklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Becklyn/subscriptions","organizations_url":"https://api.github.com/users/Becklyn/orgs","repos_url":"https://api.github.com/users/Becklyn/repos","events_url":"https://api.github.com/users/Becklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Becklyn/received_events","type":"Organization","site_admin":false},"repo":{"id":32990188,"name":"BecklynMysqlDumpBundle","full_name":"Becklyn/BecklynMysqlDumpBundle","owner":{"login":"Becklyn","id":1044355,"avatar_url":"https://avatars.githubusercontent.com/u/1044355?v=3","gravatar_id":"","url":"https://api.github.com/users/Becklyn","html_url":"https://github.com/Becklyn","followers_url":"https://api.github.com/users/Becklyn/followers","following_url":"https://api.github.com/users/Becklyn/following{/other_user}","gists_url":"https://api.github.com/users/Becklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Becklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Becklyn/subscriptions","organizations_url":"https://api.github.com/users/Becklyn/orgs","repos_url":"https://api.github.com/users/Becklyn/repos","events_url":"https://api.github.com/users/Becklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Becklyn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Becklyn/BecklynMysqlDumpBundle","description":"A symfony 2 bundle that uses mysqldump to dump the associated databases.","fork":false,"url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle","forks_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/forks","keys_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/teams","hooks_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/hooks","issue_events_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/issues/events{/number}","events_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/events","assignees_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/assignees{/user}","branches_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/branches{/branch}","tags_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/tags","blobs_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/languages","stargazers_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/stargazers","contributors_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/contributors","subscribers_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/subscribers","subscription_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/subscription","commits_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/contents/{+path}","compare_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/merges","archive_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/downloads","issues_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/issues{/number}","pulls_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/labels{/name}","releases_url":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/releases{/id}","created_at":"2015-03-27T14:17:41Z","updated_at":"2015-03-27T14:17:41Z","pushed_at":"2015-03-30T09:11:56Z","git_url":"git://github.com/Becklyn/BecklynMysqlDumpBundle.git","ssh_url":"git@github.com:Becklyn/BecklynMysqlDumpBundle.git","clone_url":"https://github.com/Becklyn/BecklynMysqlDumpBundle.git","svn_url":"https://github.com/Becklyn/BecklynMysqlDumpBundle","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/1"},"html":{"href":"https://github.com/Becklyn/BecklynMysqlDumpBundle/pull/1"},"issue":{"href":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/issues/1"},"comments":{"href":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Becklyn/BecklynMysqlDumpBundle/statuses/818ee38240a35c51abdfcfb9eddd0e9b12089166"}}}}