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

What broke Jim? #26

Closed
vit1251 opened this issue Mar 31, 2016 · 6 comments
Closed

What broke Jim? #26

vit1251 opened this issue Mar 31, 2016 · 6 comments

Comments

@vit1251
Copy link

vit1251 commented Mar 31, 2016

Receive follow problem

$ doctl auth login
login to DigitalOcean account

Usage:
  doctl auth login [flags]

Flags:
  -h, --help   help for login

Global Flags:
  -t, --access-token string   DigitalOcean API V2 Access Token
  -o, --output string         output formt [text|json] (default "text")
      --trace                 verbose output
  -v, --verbose               verbose output

Error: it's broke, Jim

What wrong? And I am is not Jim ;) How to determine my name in confg ;)

@bryanl
Copy link
Contributor

bryanl commented Mar 31, 2016

Hello, I've fixed this issue, and logins should work.

@mattkanwisher
Copy link

Btw I found Jim...

Jim

@vit1251
Copy link
Author

vit1251 commented Mar 31, 2016

I have message "Failed to execute default Web Browser." and content "Input/Ouput error.".
I can work wit doctl without auth login? Work only via API without require X11?
At now I have error:

$ doctl compute domain list
Error: GET https://api.digitalocean.com/v2/domains?page=1&per_page=200: 401 Unable to authenticate you.

This always using X11 authrization?

@mattkanwisher
Copy link

@vit1251 if you save your auth key to ~/.doctlcfg or set DIGITALOCEAN_ACCESS_TOKEN environment variable you don't need to do "auth login"

@vit1251
Copy link
Author

vit1251 commented Mar 31, 2016

if you save your auth key to ~/.doctlcfg or set DIGITALOCEAN_ACCESS_TOKEN environment variable you don't need to do "auth login"

I can not. I does not know format of ".doctlcfg".

@mattkanwisher
Copy link

In the read.me in the repo there is an example you can do like this:

cat ~/.doctlcfg

access-token: "your auth token here"
output: "text"

andrewsomething pushed a commit to andrewsomething/doctl that referenced this issue Jun 8, 2016
Pretty print account cmd output
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