This repository has been archived by the owner on Aug 15, 2018. It is now read-only.
token
Mikkel Trolle Larsen edited this page Jun 1, 2017
·
2 revisions
You renew your token using the token command: urcli token "your-token
. That also records the tokens age, so that it can warn you if the token is about to expire. But if you use a token that's older than a few days, the expiry warning might be off, so get a new token every time you use this command.
💡 Be sure to put the token in quotes since they often include dashes (-
) which messes up the command.
The script will show you the age of your token at the top of the prompt if you are running assign without any flags. But even with the --silent
flag set, it will give you a warning when your token is less than 5 days from expiring.