{"action":"created","issue":{"url":"https://api.github.com/repos/psake/psake/issues/127","labels_url":"https://api.github.com/repos/psake/psake/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/psake/psake/issues/127/comments","events_url":"https://api.github.com/repos/psake/psake/issues/127/events","html_url":"https://github.com/psake/psake/issues/127","id":54011156,"number":127,"title":"Better Import Method","user":{"login":"flyboarder","id":147004,"avatar_url":"https://avatars.githubusercontent.com/u/147004?v=3","gravatar_id":"","url":"https://api.github.com/users/flyboarder","html_url":"https://github.com/flyboarder","followers_url":"https://api.github.com/users/flyboarder/followers","following_url":"https://api.github.com/users/flyboarder/following{/other_user}","gists_url":"https://api.github.com/users/flyboarder/gists{/gist_id}","starred_url":"https://api.github.com/users/flyboarder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyboarder/subscriptions","organizations_url":"https://api.github.com/users/flyboarder/orgs","repos_url":"https://api.github.com/users/flyboarder/repos","events_url":"https://api.github.com/users/flyboarder/events{/privacy}","received_events_url":"https://api.github.com/users/flyboarder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T00:21:20Z","updated_at":"2015-02-08T22:09:34Z","closed_at":null,"body":"Include psd1 file\r\n\r\nThis allows to extract to modules dir and import without CD into directory\r\n\r\ncurrent method is tedious"},"comment":{"url":"https://api.github.com/repos/psake/psake/issues/comments/73435141","html_url":"https://github.com/psake/psake/issues/127#issuecomment-73435141","issue_url":"https://api.github.com/repos/psake/psake/issues/127","id":73435141,"user":{"login":"vors","id":816680,"avatar_url":"https://avatars.githubusercontent.com/u/816680?v=3","gravatar_id":"","url":"https://api.github.com/users/vors","html_url":"https://github.com/vors","followers_url":"https://api.github.com/users/vors/followers","following_url":"https://api.github.com/users/vors/following{/other_user}","gists_url":"https://api.github.com/users/vors/gists{/gist_id}","starred_url":"https://api.github.com/users/vors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vors/subscriptions","organizations_url":"https://api.github.com/users/vors/orgs","repos_url":"https://api.github.com/users/vors/repos","events_url":"https://api.github.com/users/vors/events{/privacy}","received_events_url":"https://api.github.com/users/vors/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T22:09:34Z","updated_at":"2015-02-08T22:09:34Z","body":"Let me elaborate this issue and ramble about my personal experience and pain points.\r\n\r\nI installed `psake` with `choco`, like all other mature modules.\r\nUnfortunately `Invoke-PSake` didn't work, neither  `Import-Module Psake`.\r\nThe only way to call psake, which is provided by default with choco installation is `psake.bat`. \r\nIt spawns new powershell process. Additionally psake doesn't preserve exit code. Adding another layer (new powershell process) makes automation with psake (for appveyor CI for instance) ridiculously hard.\r\n"}}