{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/cpy-cli/issues/9","repository_url":"https://api.github.com/repos/sindresorhus/cpy-cli","labels_url":"https://api.github.com/repos/sindresorhus/cpy-cli/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/cpy-cli/issues/9/comments","events_url":"https://api.github.com/repos/sindresorhus/cpy-cli/issues/9/events","html_url":"https://github.com/sindresorhus/cpy-cli/issues/9","id":181725388,"number":9,"title":"[Minor] Windows Argument Escaping","user":{"login":"schnittstabil","id":6059032,"avatar_url":"https://avatars.githubusercontent.com/u/6059032?v=3","gravatar_id":"","url":"https://api.github.com/users/schnittstabil","html_url":"https://github.com/schnittstabil","followers_url":"https://api.github.com/users/schnittstabil/followers","following_url":"https://api.github.com/users/schnittstabil/following{/other_user}","gists_url":"https://api.github.com/users/schnittstabil/gists{/gist_id}","starred_url":"https://api.github.com/users/schnittstabil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schnittstabil/subscriptions","organizations_url":"https://api.github.com/users/schnittstabil/orgs","repos_url":"https://api.github.com/users/schnittstabil/repos","events_url":"https://api.github.com/users/schnittstabil/events{/privacy}","received_events_url":"https://api.github.com/users/schnittstabil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-07T17:29:19Z","updated_at":"2016-10-07T17:32:54Z","closed_at":null,"body":"For Windows users the `--help` examples are misleading, e.g.:\r\n\r\n```\r\nC:\\test>dir src\r\n…\r\n07.10.2016  19:07                 0 goat.png\r\n07.10.2016  19:07                 0 unicorn.png\r\n```\r\n\r\n```\r\nC:\\test>cpy --help\r\n…\r\n  Examples\r\n    Copy all .png files in src folder into dist except src/goat.png\r\n    $ cpy 'src/*.png' '!src/goat.png' dist\r\n```\r\n\r\n```\r\nC:\\test>cpy 'src/*.png' '!src/goat.png' dist\r\nCannot glob `'src/*.png','!src/goat.png'`: …\r\n```\r\n\r\n--\r\n\r\nNB: Double quotes work as expected:\r\n```\r\nC:\\test>cpy \"src/*.png\" \"!src/goat.png\" dist\r\nC:\\test>dir dist\r\n…\r\n07.10.2016  19:07                 0 unicorn.png\r\n```"},"comment":{"url":"https://api.github.com/repos/sindresorhus/cpy-cli/issues/comments/252313410","html_url":"https://github.com/sindresorhus/cpy-cli/issues/9#issuecomment-252313410","issue_url":"https://api.github.com/repos/sindresorhus/cpy-cli/issues/9","id":252313410,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T17:32:54Z","updated_at":"2016-10-07T17:32:54Z","body":"I couldn't care less about Windows, but feel free to change it if you do."}}
{"actor":{"display_login":"sindresorhus"}}