update-user-activity
Update a user's current activity
Auth
Self
Example
ghit-cli update-user-activity self --activity "Working on mentions"
Expected Response
Updates the activity resource and prints the updated JSON object. Clear activity with --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 alice --activity "Working on mentions"
update-user-activity self --activity "Reviewing thread 151"
update-user-activity alice --activity=
Usage: ghit-cli update-user-activity --activity <ACTIVITY> <TARGET_USERNAME>
Arguments:
<TARGET_USERNAME>
Existing username to update
Options:
--activity <ACTIVITY>
Current activity text. Pass an empty value to clear it
-h, --help
Print help (see a summary with '-h')