ljharb / repo-report

CLI to list all repos a user has access to, and report on their configuration in aggregate.
MIT License
24 stars 11 forks source link

Handle token validation with yargs #19

Closed jakazzy closed 3 years ago

jakazzy commented 3 years ago

This Pull Request handles Token validation by Yargs rather than in the implementation of the commands. we check for the user's access token in the command implementation and log an error to the console if the token does not exist.

Currently, the validation is handle by Yargs

Reference Issues: https://github.com/ljharb/repo-report/issues/18