G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

Gin login not prompted when not logged in #273

Open nickdelgrosso opened 4 years ago

nickdelgrosso commented 4 years ago

Hi,

I just installed the gin client for ubuntu (version output below) and noticed that when I type gin repos I get:

$ gin repos
[error] user '' does not exist

It all works fine when I log in, but I though it might make the onboarding experience easier if the gin login message was suggested.

Version: GIN command line client 1.9 Build 001415 (8725f3b9e37356add58aaccb75df77b699bda838) git: 2.20.1 git-annex: 7.20190627-g831e6746f

nickdelgrosso commented 4 years ago

I guess it comes out of this line: https://github.com/G-Node/gin-cli/blob/7786caf50bbdfffd12395731140d5fa32711f6a5/ginclient/repos.go#L162