{"action":"created","issue":{"url":"https://api.github.com/repos/manifoldco/manifold-cli/issues/232","repository_url":"https://api.github.com/repos/manifoldco/manifold-cli","labels_url":"https://api.github.com/repos/manifoldco/manifold-cli/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/manifoldco/manifold-cli/issues/232/comments","events_url":"https://api.github.com/repos/manifoldco/manifold-cli/issues/232/events","html_url":"https://github.com/manifoldco/manifold-cli/pull/232","id":345232103,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NDM2MzY4","number":232,"title":"Use XDG_CONFIG_HOME if defined","user":{"login":"luizbranco","id":1048795,"node_id":"MDQ6VXNlcjEwNDg3OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1048795?v=4","gravatar_id":"","url":"https://api.github.com/users/luizbranco","html_url":"https://github.com/luizbranco","followers_url":"https://api.github.com/users/luizbranco/followers","following_url":"https://api.github.com/users/luizbranco/following{/other_user}","gists_url":"https://api.github.com/users/luizbranco/gists{/gist_id}","starred_url":"https://api.github.com/users/luizbranco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizbranco/subscriptions","organizations_url":"https://api.github.com/users/luizbranco/orgs","repos_url":"https://api.github.com/users/luizbranco/repos","events_url":"https://api.github.com/users/luizbranco/events{/privacy}","received_events_url":"https://api.github.com/users/luizbranco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"luizbranco","id":1048795,"node_id":"MDQ6VXNlcjEwNDg3OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1048795?v=4","gravatar_id":"","url":"https://api.github.com/users/luizbranco","html_url":"https://github.com/luizbranco","followers_url":"https://api.github.com/users/luizbranco/followers","following_url":"https://api.github.com/users/luizbranco/following{/other_user}","gists_url":"https://api.github.com/users/luizbranco/gists{/gist_id}","starred_url":"https://api.github.com/users/luizbranco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizbranco/subscriptions","organizations_url":"https://api.github.com/users/luizbranco/orgs","repos_url":"https://api.github.com/users/luizbranco/repos","events_url":"https://api.github.com/users/luizbranco/events{/privacy}","received_events_url":"https://api.github.com/users/luizbranco/received_events","type":"User","site_admin":false},"assignees":[{"login":"luizbranco","id":1048795,"node_id":"MDQ6VXNlcjEwNDg3OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1048795?v=4","gravatar_id":"","url":"https://api.github.com/users/luizbranco","html_url":"https://github.com/luizbranco","followers_url":"https://api.github.com/users/luizbranco/followers","following_url":"https://api.github.com/users/luizbranco/following{/other_user}","gists_url":"https://api.github.com/users/luizbranco/gists{/gist_id}","starred_url":"https://api.github.com/users/luizbranco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizbranco/subscriptions","organizations_url":"https://api.github.com/users/luizbranco/orgs","repos_url":"https://api.github.com/users/luizbranco/repos","events_url":"https://api.github.com/users/luizbranco/events{/privacy}","received_events_url":"https://api.github.com/users/luizbranco/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-27T13:45:53Z","updated_at":"2018-07-27T19:54:41Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/manifoldco/manifold-cli/pulls/232","html_url":"https://github.com/manifoldco/manifold-cli/pull/232","diff_url":"https://github.com/manifoldco/manifold-cli/pull/232.diff","patch_url":"https://github.com/manifoldco/manifold-cli/pull/232.patch"},"body":"If defined, `XDG_CONFIG_HOME` will take precedence over `~/.manifoldrc` for reading and writing the config file.\r\n\r\nCloses: #227 \r\n"},"comment":{"url":"https://api.github.com/repos/manifoldco/manifold-cli/issues/comments/408522879","html_url":"https://github.com/manifoldco/manifold-cli/pull/232#issuecomment-408522879","issue_url":"https://api.github.com/repos/manifoldco/manifold-cli/issues/232","id":408522879,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODUyMjg3OQ==","user":{"login":"tim-speed","id":1552848,"node_id":"MDQ6VXNlcjE1NTI4NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1552848?v=4","gravatar_id":"","url":"https://api.github.com/users/tim-speed","html_url":"https://github.com/tim-speed","followers_url":"https://api.github.com/users/tim-speed/followers","following_url":"https://api.github.com/users/tim-speed/following{/other_user}","gists_url":"https://api.github.com/users/tim-speed/gists{/gist_id}","starred_url":"https://api.github.com/users/tim-speed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tim-speed/subscriptions","organizations_url":"https://api.github.com/users/tim-speed/orgs","repos_url":"https://api.github.com/users/tim-speed/repos","events_url":"https://api.github.com/users/tim-speed/events{/privacy}","received_events_url":"https://api.github.com/users/tim-speed/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T19:54:41Z","updated_at":"2018-07-27T19:54:41Z","author_association":"CONTRIBUTOR","body":"@luizbranco we should probably have an OS switch in here, the windows situation is very different. They have an app data directory where this would go.\r\n\r\nI also like the point about:\r\n`~/.config/manifold/config` and agree we should default to `~/.config/manifold/` as the path we store config in on Linux / OSX if none is present\r\nBut if a config is exists at `~/.manifoldrc` we should still read it for backwards compatibility.\r\nWe could also consider using it as an override."}}
{"actor":{"display_login":"tim-speed"}}