semaphoreci / cli

Semaphore 2.0 Command Line Interface
Apache License 2.0
26 stars 13 forks source link

Verify token when connecting to organization #114

Closed shiroyasha closed 4 years ago

shiroyasha commented 5 years ago

sem connect <url> <token> should verify the validity of the token.

This will avoid issues like: "I connected to Semaphore, but then sem init failed with 401".

shiroyasha commented 4 years ago

This was done in the attached PR.