{"action":"opened","issue":{"url":"https://api.github.com/repos/getsentry/sentry-cli/issues/302","repository_url":"https://api.github.com/repos/getsentry/sentry-cli","labels_url":"https://api.github.com/repos/getsentry/sentry-cli/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry-cli/issues/302/comments","events_url":"https://api.github.com/repos/getsentry/sentry-cli/issues/302/events","html_url":"https://github.com/getsentry/sentry-cli/issues/302","id":324268540,"number":302,"title":"Specify path to .env","user":{"login":"aguynamedben","id":107841,"avatar_url":"https://avatars1.githubusercontent.com/u/107841?v=4","gravatar_id":"","url":"https://api.github.com/users/aguynamedben","html_url":"https://github.com/aguynamedben","followers_url":"https://api.github.com/users/aguynamedben/followers","following_url":"https://api.github.com/users/aguynamedben/following{/other_user}","gists_url":"https://api.github.com/users/aguynamedben/gists{/gist_id}","starred_url":"https://api.github.com/users/aguynamedben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguynamedben/subscriptions","organizations_url":"https://api.github.com/users/aguynamedben/orgs","repos_url":"https://api.github.com/users/aguynamedben/repos","events_url":"https://api.github.com/users/aguynamedben/events{/privacy}","received_events_url":"https://api.github.com/users/aguynamedben/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-18T04:42:27Z","updated_at":"2018-05-18T04:42:27Z","closed_at":null,"author_association":"NONE","body":"My app uses [dotenv](https://github.com/motdotla/dotenv) and has files for:\r\n* env.development (local only, not in repo)\r\n* env.production (in repo)\r\n* env.example (in repo, basis for creating env.development)\r\n\r\nIs there a way I can tell sentry-cli the location of my .env file?\r\n\r\nWhat I tried:\r\n\r\n#### 1. Hoping there was an argument I could pass to sentry-cli\r\n```\r\nSequence!ben:/Users/ben/code/tesla$ ./node_modules/.bin/sentry-cli --config env.development\r\nerror: Found argument '--config' which wasn't expected, or isn't valid in this context\r\n\tDid you mean to put '--config-status-json' after the subcommand 'info'?\r\n\r\nUSAGE:\r\n    sentry-cli <SUBCOMMAND>\r\n\r\nFor more information try --help\r\n```\r\n\r\n#### 2. Using dotenv's command line loader, but the syntax is off with sentry-cli requiring a space argument\r\n```\r\nSequence!ben:/Users/ben/code/tesla$ node -r dotenv/config ./node_modules/.bin/sentry-cli info dotenv_config_path=env.development\r\nerror: Found argument 'dotenv_config_path=env.development' which wasn't expected, or isn't valid in this context\r\n\r\nUSAGE:\r\n    sentry-cli info [OPTIONS]\r\n\r\nFor more information try --help\r\n```"}}
{"actor":{"display_login":"aguynamedben"}}