Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dogrc file shouldn't be required if api/app key env vars are set #144

Closed
clofresh opened this issue Jul 14, 2016 · 2 comments
Closed

dogrc file shouldn't be required if api/app key env vars are set #144

clofresh opened this issue Jul 14, 2016 · 2 comments
Assignees
Milestone

Comments

@clofresh
Copy link

$ DATADOG_API_KEY=foo DATADOG_APP_KEY=bar dog timeboard show_all
~/.dogrc does not exist. Would you like to create it? [Y/n] 

Even tho though env vars are used later on in the init https://github.com/DataDog/datadogpy/blob/master/datadog/__init__.py#L63-L64

This makes it difficult to automate things that only have access to env vars and not the file system.

@yannmh yannmh self-assigned this Jul 21, 2016
@yannmh yannmh added this to the 0.13.0 milestone Jul 21, 2016
@yannmh
Copy link
Member

yannmh commented Jul 21, 2016

We'll fix that in the next release. Thanks @clofresh.

@yannmh yannmh modified the milestones: 0.13.0, 0.14.0 Aug 24, 2016
@yannmh yannmh modified the milestones: 0.14.0, 0.15.0 Sep 21, 2016
@yannmh yannmh modified the milestones: 0.15.0, 0.16.0 Jan 23, 2017
@andyshinn
Copy link

This has been bumped for a while now. Is it something more difficult than worth? My use case is to be able to use the utility for metrics and event posting from CI solutions where I just pass the environment variables or the param on CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants