aybabtme / godotto

Among other things, a DigitalOcean REPL
Apache License 2.0
9 stars 4 forks source link

Windows: not parsing the -api.token flag #1

Closed klauern closed 7 years ago

klauern commented 8 years ago

I don't know what's exactly happening, but it appears not to be parsing or interpreting the -api.token flag:

C:\Users\Me> dorepl -api.token "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  -api.token string
        token to use to communicate with the DO API
dorepl: At this time, the REPL requires you to provide an API token

and brings me back to the prompt. I'm not sure what I'm doing wrong. I've tried it without the surrounding ""'s as well, but that doesn't seem to matter.

aybabtme commented 8 years ago

Oups, should work now! can you try again? https://github.com/aybabtme/godotto#windows-not-tested-ymmv

klauern commented 8 years ago

I think it's having trouble with the flag itself:

C:\Users\A03182 > dorepl -api.token "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
flag provided but not defined: -api
Usage of C:\Users\A03182\bin\dorepl.exe:
  -api.token string
        token to use to communicate with the DO API
aybabtme commented 8 years ago

Try downloading again, I should have fixed this.