bitrise-io / bitrise-plugins-io

A Terminal / Command Line interface for bitrise.io, to manage your apps on bitrise.io right from your terminal / command line.
6 stars 4 forks source link

Implement unauth command #44

Closed slapec93 closed 5 years ago

slapec93 commented 5 years ago

Closes #20

viktorbenei commented 5 years ago

Otherwise 👍 , I used the same solution (setting the token to an empty string) at https://github.com/bitrise-core/bitrise-plugins-io/blob/3c37b133fda7e0b3e369037e742b950a17962da0/cmd/root.go#L59

viktorbenei commented 5 years ago

I also wonder whether we should call this logout or unauth; logout sounds better/more natural but we used auth for the main auth method.

That said, we could use both - just apply an alias so both logout and unauth can be used @slapec93 ! ;)