{"action":"created","issue":{"url":"https://api.github.com/repos/p0deje/vagrant-exec/issues/9","labels_url":"https://api.github.com/repos/p0deje/vagrant-exec/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/p0deje/vagrant-exec/issues/9/comments","events_url":"https://api.github.com/repos/p0deje/vagrant-exec/issues/9/events","html_url":"https://github.com/p0deje/vagrant-exec/issues/9","id":47263352,"number":9,"title":"Feature: Add option for complete command processing","user":{"login":"majkinetor","id":85767,"avatar_url":"https://avatars.githubusercontent.com/u/85767?v=3","gravatar_id":"","url":"https://api.github.com/users/majkinetor","html_url":"https://github.com/majkinetor","followers_url":"https://api.github.com/users/majkinetor/followers","following_url":"https://api.github.com/users/majkinetor/following{/other_user}","gists_url":"https://api.github.com/users/majkinetor/gists{/gist_id}","starred_url":"https://api.github.com/users/majkinetor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majkinetor/subscriptions","organizations_url":"https://api.github.com/users/majkinetor/orgs","repos_url":"https://api.github.com/users/majkinetor/repos","events_url":"https://api.github.com/users/majkinetor/events{/privacy}","received_events_url":"https://api.github.com/users/majkinetor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-30T12:22:36Z","updated_at":"2015-02-27T03:21:21Z","closed_at":"2014-10-31T07:48:57Z","body":"I would like to see an option to somehow preprocess entire command instead of just prepending some text to it.\r\n\r\nFor instance\r\n<pre>\r\n    # vagrant db-import executes /vagrant/db_import.sh\r\n    node.exec.commands 'db-import', cmd: '/vagrant/db_import.sh'\r\n    # remove .sh  and replace _ with - from bash scripts names\r\n    node.exec.commands '*', modify: @cmd.gsub(\"_\", \"-\").gsub(\".sh\", \"\");\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/p0deje/vagrant-exec/issues/comments/76324383","html_url":"https://github.com/p0deje/vagrant-exec/issues/9#issuecomment-76324383","issue_url":"https://api.github.com/repos/p0deje/vagrant-exec/issues/9","id":76324383,"user":{"login":"p0deje","id":665846,"avatar_url":"https://avatars.githubusercontent.com/u/665846?v=3","gravatar_id":"","url":"https://api.github.com/users/p0deje","html_url":"https://github.com/p0deje","followers_url":"https://api.github.com/users/p0deje/followers","following_url":"https://api.github.com/users/p0deje/following{/other_user}","gists_url":"https://api.github.com/users/p0deje/gists{/gist_id}","starred_url":"https://api.github.com/users/p0deje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0deje/subscriptions","organizations_url":"https://api.github.com/users/p0deje/orgs","repos_url":"https://api.github.com/users/p0deje/repos","events_url":"https://api.github.com/users/p0deje/events{/privacy}","received_events_url":"https://api.github.com/users/p0deje/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T03:21:21Z","updated_at":"2015-02-27T03:21:21Z","body":"@etki In PHP there are phing/phake."}}