checkpoint: status actions

This commit is contained in:
Dan Anglin 2024-07-03 17:43:10 +01:00
parent aced7c0d6e
commit bda92522c0
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -161,7 +161,7 @@ enbas show --type account --account-name @name@example.social
### Follow an account
Send a follow request to the account you want to follow.
Sends a follow request to the account you want to follow.
```
enbas follow --type account --account-name @name@example.social
@ -176,7 +176,7 @@ enbas follow --type account --account-name @name@example.social
### Unfollow an account
Unfollow the account that you are currently following.
Unfollows the account that you are currently following.
If you have a follow request pending for the account in question,
performing an unfollow action will remove said follow request.
@ -379,14 +379,44 @@ _Not yet supported_
To boost a status you simply add a `boost` to it.
```
enbas add --type boost --to status --status-id 01J17FH1KD9CN6J9Q01011NE0D
```
| flag | type | required | description | default |
|------|------|----------|-------------|---------|
| `type` | string | true | The resource you want to add.<br>Here this should be `boost`. | |
| `to` | string | true | The resource you want to add the boost to.<br>Here this should be `status`. | |
| `status-id` | string | true | The ID of the status that you want to boost. | |
### Un-boost (Un-repost) a status
To un-boost a status that you've boosted you simply remove the `boost` from it.
```
enbas remove --type boost --from status --status-id 01J17FH1KD9CN6J9Q01011NE0D
```
| flag | type | required | description | default |
|------|------|----------|-------------|---------|
| `type` | string | true | The resource you want to add.<br>Here this should be `boost`. | |
| `from` | string | true | The resource you want to remove the boost from.<br>Here this should be `status`. | |
| `status-id` | string | true | The ID of the status that you want to un-boost. | |
### Like a status
To like (favourite) a status you simply add a `like` or a `star` to it.
```
enbas add --type star --to 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`. | |
| `to` | string | true | The resource you want to like.<br>Here this should be `status`. | |
| `status-id` | string | true | The ID of the status that you want to like. | |
### Unlike a status
To unlike (un-favourite) a status that you've previously liked you simply remove the `like` or `star` from it.