{"action":"created","issue":{"url":"https://api.github.com/repos/yegor256/rultor/issues/893","labels_url":"https://api.github.com/repos/yegor256/rultor/issues/893/labels{/name}","comments_url":"https://api.github.com/repos/yegor256/rultor/issues/893/comments","events_url":"https://api.github.com/repos/yegor256/rultor/issues/893/events","html_url":"https://github.com/yegor256/rultor/issues/893","id":94607452,"number":893,"title":"rultor encrypt -p user/repo path/to/settings.xml should output settings.xml.asc to $CWD instead of the directory where settings.xml is located","user":{"login":"Suseika","id":4467948,"avatar_url":"https://avatars.githubusercontent.com/u/4467948?v=3","gravatar_id":"","url":"https://api.github.com/users/Suseika","html_url":"https://github.com/Suseika","followers_url":"https://api.github.com/users/Suseika/followers","following_url":"https://api.github.com/users/Suseika/following{/other_user}","gists_url":"https://api.github.com/users/Suseika/gists{/gist_id}","starred_url":"https://api.github.com/users/Suseika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Suseika/subscriptions","organizations_url":"https://api.github.com/users/Suseika/orgs","repos_url":"https://api.github.com/users/Suseika/repos","events_url":"https://api.github.com/users/Suseika/events{/privacy}","received_events_url":"https://api.github.com/users/Suseika/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-12T22:58:15Z","updated_at":"2015-07-13T02:53:45Z","closed_at":"2015-07-13T02:53:45Z","body":"How to reproduce\r\n```bash\r\nmkdir far_away\r\nvim far_away/settings.xml # Create proper settings.xml rultor would accept\r\nrultor encrypt -p user/repo far_away/settings.xml\r\n```\r\nExpected output: settings.xml.asc in current directory\r\nActual output: settings.xml.asc in far_away directory\r\n\r\nI expect settings.xml.asc to appear in the current directory because it is the standard behavior for unix tools that create a new file and are not provided the explicit location for it, e.g. `wget http://github.com`"},"comment":{"url":"https://api.github.com/repos/yegor256/rultor/issues/comments/120792009","html_url":"https://github.com/yegor256/rultor/issues/893#issuecomment-120792009","issue_url":"https://api.github.com/repos/yegor256/rultor/issues/893","id":120792009,"user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T02:53:45Z","updated_at":"2015-07-13T02:53:45Z","body":"@Suseika it's a valid bug, but should be reported here: https://github.com/yegor256/rultor-remote"}}