{"action":"created","issue":{"url":"https://api.github.com/repos/CI-Craftsman/CLI/issues/1","repository_url":"https://api.github.com/repos/CI-Craftsman/CLI","labels_url":"https://api.github.com/repos/CI-Craftsman/CLI/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/CI-Craftsman/CLI/issues/1/comments","events_url":"https://api.github.com/repos/CI-Craftsman/CLI/issues/1/events","html_url":"https://github.com/CI-Craftsman/CLI/issues/1","id":195081375,"number":1,"title":"i can't get it working","user":{"login":"ngangchill","id":4242225,"avatar_url":"https://avatars.githubusercontent.com/u/4242225?v=3","gravatar_id":"","url":"https://api.github.com/users/ngangchill","html_url":"https://github.com/ngangchill","followers_url":"https://api.github.com/users/ngangchill/followers","following_url":"https://api.github.com/users/ngangchill/following{/other_user}","gists_url":"https://api.github.com/users/ngangchill/gists{/gist_id}","starred_url":"https://api.github.com/users/ngangchill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngangchill/subscriptions","organizations_url":"https://api.github.com/users/ngangchill/orgs","repos_url":"https://api.github.com/users/ngangchill/repos","events_url":"https://api.github.com/users/ngangchill/events{/privacy}","received_events_url":"https://api.github.com/users/ngangchill/received_events","type":"User","site_admin":false},"labels":[{"id":476046065,"url":"https://api.github.com/repos/CI-Craftsman/CLI/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":{"login":"davidsosavaldes","id":12551529,"avatar_url":"https://avatars.githubusercontent.com/u/12551529?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsosavaldes","html_url":"https://github.com/davidsosavaldes","followers_url":"https://api.github.com/users/davidsosavaldes/followers","following_url":"https://api.github.com/users/davidsosavaldes/following{/other_user}","gists_url":"https://api.github.com/users/davidsosavaldes/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsosavaldes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsosavaldes/subscriptions","organizations_url":"https://api.github.com/users/davidsosavaldes/orgs","repos_url":"https://api.github.com/users/davidsosavaldes/repos","events_url":"https://api.github.com/users/davidsosavaldes/events{/privacy}","received_events_url":"https://api.github.com/users/davidsosavaldes/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidsosavaldes","id":12551529,"avatar_url":"https://avatars.githubusercontent.com/u/12551529?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsosavaldes","html_url":"https://github.com/davidsosavaldes","followers_url":"https://api.github.com/users/davidsosavaldes/followers","following_url":"https://api.github.com/users/davidsosavaldes/following{/other_user}","gists_url":"https://api.github.com/users/davidsosavaldes/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsosavaldes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsosavaldes/subscriptions","organizations_url":"https://api.github.com/users/davidsosavaldes/orgs","repos_url":"https://api.github.com/users/davidsosavaldes/repos","events_url":"https://api.github.com/users/davidsosavaldes/events{/privacy}","received_events_url":"https://api.github.com/users/davidsosavaldes/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-12-12T20:47:55Z","updated_at":"2016-12-12T21:17:25Z","closed_at":null,"body":"i'm trying to set it up in my windows . \r\ni followed your installation steps .composer installation is ok but php bin/craftsman is not working.\r\n\r\n\r\nbin/craftsman filecontains\r\n\r\n```    \r\n    #!/usr/bin/env sh\r\n\r\ndir=$(d=${0%[/\\\\]*}; cd \"$d\"; cd \"../vendor/craftsman/cli\" && pwd)\r\n\r\n# See if we are running in Cygwin by checking for cygpath program\r\nif command -v 'cygpath' >/dev/null 2>&1; then\r\n\t# Cygwin paths start with /cygdrive/ which will break windows PHP,\r\n\t# so we need to translate the dir path to windows format. However\r\n\t# we could be using cygwin PHP which does not require this, so we\r\n\t# test if the path to PHP starts with /cygdrive/ rather than /usr/bin\r\n\tif [[ $(which php) == /cygdrive/* ]]; then\r\n\t\tdir=$(cygpath -m \"$dir\");\r\n\tfi\r\nfi\r\n\r\ndir=$(echo $dir | sed 's/ /\\ /g')\r\n\"${dir}/craftsman\" \"$@\"\r\n````\r\nIm newbee, help me.."},"comment":{"url":"https://api.github.com/repos/CI-Craftsman/CLI/issues/comments/266555396","html_url":"https://github.com/CI-Craftsman/CLI/issues/1#issuecomment-266555396","issue_url":"https://api.github.com/repos/CI-Craftsman/CLI/issues/1","id":266555396,"user":{"login":"ngangchill","id":4242225,"avatar_url":"https://avatars.githubusercontent.com/u/4242225?v=3","gravatar_id":"","url":"https://api.github.com/users/ngangchill","html_url":"https://github.com/ngangchill","followers_url":"https://api.github.com/users/ngangchill/followers","following_url":"https://api.github.com/users/ngangchill/following{/other_user}","gists_url":"https://api.github.com/users/ngangchill/gists{/gist_id}","starred_url":"https://api.github.com/users/ngangchill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngangchill/subscriptions","organizations_url":"https://api.github.com/users/ngangchill/orgs","repos_url":"https://api.github.com/users/ngangchill/repos","events_url":"https://api.github.com/users/ngangchill/events{/privacy}","received_events_url":"https://api.github.com/users/ngangchill/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T21:17:25Z","updated_at":"2016-12-12T21:17:25Z","body":"i followed https://ci-craftsman.github.io/documentation/installation/\r\n\r\nConfig the bin-dir path inside your composer.json file:\r\n\"config\": {\r\n    \"bin-dir\": \"bin\"\r\n}\r\nNext, install the package with composer:\r\ncomposer require craftsman/cli\r\nInstall the environment variables:\r\ncp path/to/vendor/craftsman/cli/.craftsman.example .craftsman\r\nIf you configure the bin directory you can run the command like this:\r\nphp bin/craftsman\r\n\r\n\r\nbut when i try  \r\n    php bin/craftsman\r\n\r\nit shows\r\n\r\n     #!/usr/bin/env sh\r\n\r\n     dir=$(d=${0%[/\\\\]*}; cd \"$d\"; cd \"../vendor/nikic/php-parser/bin\" && pwd)\r\n\r\n     # See if we are running in Cygwin by checking for cygpath program\r\n     if command -v 'cygpath' >/dev/null 2>&1; then\r\n\t     # Cygwin paths start with /cygdrive/ which will break windows PHP,\r\n\t     # so we need to translate the dir path to windows format. However\r\n\t     # we could be using cygwin PHP which does not require this, so we\r\n\t     # test if the path to PHP starts with /cygdrive/ rather than /usr/bin\r\n\t     if [[ $(which php) == /cygdrive/* ]]; then\r\n\t     \tdir=$(cygpath -m \"$dir\");\r\n\t     fi\r\n     fi\r\n\r\n     dir=$(echo $dir | sed 's/ /\\ /g')\r\n     \"${dir}/php-parse\" \"$@\"\r\n\r\n\r\n\r\nMy os: windows 8.1,\r\n\r\nlocal server   UwAmp \r\nphp  5.6.28\r\n\r\nwith git bash\r\n"}}
{"actor":{"display_login":"ngangchill"}}