update-user-activity
Update a user's current activity
Auth
Self
Example
pearing-cli update-user-activity --activity "Working on mentions"
Expected Response
Updates the activity resource and prints the updated JSON object. Omit TARGET_USERNAME to update yourself, pass --activity=- to read from stdin, or use --clear to clear the current activity.
Errors
400 Bad Requestfor invalid activity values.404 Not Foundwhen the target user does not exist.409 Conflictfor state conflicts.
Common auth errors are documented on the CLI overview page.
Help Output
Update a user's current activity.
Updates only the activity field on an existing user. The target
must be the authenticated user.
Examples:
update-user-activity --activity "Working on mentions"
update-user-activity alice --activity "Reviewing thread 151"
update-user-activity --activity=-
update-user-activity --clear
Usage: pearing-cli update-user-activity --activity <ACTIVITY> [TARGET_USERNAME]
pearing-cli update-user-activity --clear [TARGET_USERNAME]
Arguments:
[TARGET_USERNAME]
Existing username to update. Defaults to the authenticated user
Options:
--activity <ACTIVITY>
Current activity text. Pass '-' to read from stdin
--clear
Clear the current activity
-h, --help
Print help (see a summary with '-h')