Introduction
CLI to manage kydo points.
Commands
1.
kydo login
Logs the user in using OAuth2.0 implict grant. It opens up a login screen on user's default browser. Upon successful login access token is stored on
~/.kydo.token
2.
kydo kydos give
Allows a user to give kydos to another user
| name | alias | Description | Required |
|------------|-------|---------------------------------------|----------|
| --from | -f | Email Id of the sender | false |
| --to | -t | Email Id of the receiver | true |
| --quantity | -q | Quantity of points sender giving away | true |
| --message | -m | Message for the reciever | true |
3.
kydo kydos balance
Gives the balance of a user
| name | alias | Description | Required |
|------------|-------|---------------------------------------|----------|
| --emailId | -e | Email Id of the user whose balance to be fetched. Defaut to current user| false |
4.
kydo kydos list
Gives the list of kydo transactions
| name | alias | Description | Required |
|------------|-------|---------------------------------------|----------|
| --givenBy | -e | Filter by email Id of the sender | false |
| --receivedBy | -r | Filter by email Id of the receiver | false |
| --startDate | -s | Filter kydos rewarded on on the supplied start_date| false |
| --endDate | -e | Filter kydos rewarded before or on the supplied end_date | false |
| --page | -p | Number of the page to be fetched | false |
| --limit | -l | Number of results on a page | false |
5.
kydo users list
Gets the list of users
| name | alias | Description | Required |
|------------|-------|---------------------------------------|----------|
| --page | -p | Number of the page to be fetched | false |
| --limit | -l | Number of results on a page | false |
6.
kydo rewards list
Gets the list of rewards
| name | alias | Description | Required |
|------------|-------|---------------------------------------|----------|
| --page | -p | Number of the page to be fetched | false |
| --limit | -l | Number of results on a page | false |
7.
kydo rewards get
Gets the list of rewards
| name | alias | Description | Required |
|------------|-------|---------------------------------------|----------|
| --id | -i | Id of the reward | true |