liking and unliking statuses

This commit is contained in:
Dan Anglin 2024-07-03 18:59:01 +01:00
parent bda92522c0
commit 5857b091be
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -21,14 +21,16 @@ SPDX-License-Identifier: CC-BY-4.0
- [View an account](#view-an-account)
- [Follow an account](#follow-an-account)
- [Unfollow an account](#unfollow-an-account)
- [Show followers of an account](#show-followers-of-an-account)
- [Show who an account is following](#show-who-an-account-is-following)
- [Show an account's followers](#show-an-accounts-followers)
- [Show account's followings](#show-accounts-followings)
- [Block an account](#block-an-account)
- [Unblock an account](#unblock-an-account)
- [View blocked accounts](#view-blocked-accounts)
- [Mute an account](#mute-an-account)
- [Unmute an account](#unmute-an-account)
- [View muted accounts](#view-muted-accounts)
- [Add a private note to an account](#add-a-private-note-to-an-account)
- [Remove the private note from an account](#remove-the-private-note-from-an-account)
- [Follow requests](#follow-requests)
- [View your follow requests](#view-your-follow-requests)
- [Accept a follow request](#accept-a-follow-request)
@ -41,6 +43,7 @@ SPDX-License-Identifier: CC-BY-4.0
- [Un-boost (Un-repost) a status](#un-boost-un-repost-a-status)
- [Like a status](#like-a-status)
- [Unlike a status](#unlike-a-status)
- [View a list of statuses that you've liked](#view-a-list-of-statuses-that-youve-liked)
- [Mute a status](#mute-a-status)
- [Unmute a status](#unmute-a-status)
- [Polls](#polls)
@ -341,6 +344,8 @@ enbas show --type follow-request
### Accept a follow request
Accepts the request from the account that wants to follow you.
```
enbas accept --type follow-request --account-name @person.example.social
```
@ -352,6 +357,8 @@ enbas accept --type follow-request --account-name @person.example.social
### Reject a follow request
Rejects the request from the account that wants to follow you.
```
enbas reject --type follow-request --account-name @person.example.social
```
@ -377,7 +384,7 @@ _Not yet supported_
### Boost (Repost) a status
To boost a status you simply add a `boost` to it.
To boost a status, simply add a `boost` to it.
```
enbas add --type boost --to status --status-id 01J17FH1KD9CN6J9Q01011NE0D
@ -391,7 +398,7 @@ enbas add --type boost --to status --status-id 01J17FH1KD9CN6J9Q01011NE0D
### Un-boost (Un-repost) a status
To un-boost a status that you've boosted you simply remove the `boost` from it.
To un-boost a status that you've boosted, simply remove the `boost` from it.
```
enbas remove --type boost --from status --status-id 01J17FH1KD9CN6J9Q01011NE0D
@ -405,7 +412,7 @@ enbas remove --type boost --from status --status-id 01J17FH1KD9CN6J9Q01011NE0D
### Like a status
To like (favourite) a status you simply add a `like` or a `star` to it.
To like (favourite) a status, simply add a `like` or a `star` to it.
```
enbas add --type star --to status --status-id 01J17FH1KD9CN6J9Q01011NE0D
@ -419,7 +426,30 @@ enbas add --type star --to status --status-id 01J17FH1KD9CN6J9Q01011NE0D
### Unlike a status
To unlike (un-favourite) a status that you've previously liked you simply remove the `like` or `star` from it.
To unlike (un-favourite) a status that you've previously liked, simply remove the `like` or `star` from it.
```
enbas remove --type star --from status --status-id 01J17FH1KD9CN6J9Q01011NE0D
```
| flag | type | required | description | default |
|------|------|----------|-------------|---------|
| `type` | string | true | The resource you want to add.<br>Here this should either be `like` or `star`. | |
| `from` | string | true | The resource you want to remove the like from.<br>Here this should be `status`. | |
| `status-id` | string | true | The ID of the status that you want to remove the like from. | |
### View a list of statuses that you've liked
Prints the list of statuses that you've liked.
```
enbas show --type liked
```
| flag | type | required | description | default |
|------|------|----------|-------------|---------|
| `type` | string | true | The resource you want to view.<br>Here this should either be `liked` or `starred`. | |
| `limit` | integer | false | The maximum number of statuses to print. | 20 |
### Mute a status