0.5.7 • Published 1 year ago
kydo-cli v0.5.7
Introduction
CLI to manage kydo points.
Commands
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
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 |
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 |
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 |
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 |
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 |
kydo rewards get
Gets the list of rewards
name | alias | Description | Required |
---|---|---|---|
--id | -i | Id of the reward | true |