getting started
yogi
can talk to the YUILibrary.com and GitHub,
but first you have to tell her who you are. You can always as her, like this: yogi whoami
. She will either show you
your username or she will tell you to login.
logging in to yuilibrary
You can authenticate with the YUILibrary website by simply asking her to login: yogi login
.
She will then ask you for your username
and password
, then verify that on the website. Once
authenticated, she will receive an auth token that she will store on your local machine. Your
password will not be saved or written to disk, only the token. Any requests made after that will
pass the token along to all API calls to act as you.
You can disconnect your account with: yogi logout
.
Note: yogi
only talks SSL, all authenticated requests will use SSL at all times.
logging into github
You can authenticate with GitHub by simply asking her to login: yogi gh
.
She will then ask you for your username
and password
, then verify that on the website. Once
authenticated, she will receive an oAuth token that she will store on your local machine. Your
password will not be saved or written to disk, only the token. Any requests made after that will
pass the token along to all API calls to act as you.
At any time, you can visit your GitHub settings
and revoke the token from that side, or you can use yogi
's built in config to remove all your info:
$ yogi config delete gh_user $ yogi config delete gh_token