diff --git a/docs/manual.md b/docs/manual.md index df3ff2c..0e312fa 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -618,10 +618,46 @@ Prints a list of statuses from a timeline. | `tag` | string | false | The hashtag you want to view.
This is only required if `timeline-category` is set to `tag`. | | | `limit` | integer | false | The maximum number of statuses to print. | 20 | +## Media Attachment + +### View media attachment + +Prints information about a given media attachment that you own. +You can only see information about the media attachment that you own. + +``` +enbas show --type media-attachment --attachment-id 01J0N0RQSJ7CFGKHA30F7GBQXT +``` + +| flag | type | required | description | default | +|------|------|----------|-------------|---------| +| `type` | string | true | The resource you want to view.
Here this should be `media`. | | +| `attachment-id` | string | true | The ID of the media attachment to view. | | + ## Media ### View media from a status +Downloads and opens media attachment(s) from a status. +Enbas currently supports viewing images and videos. +The media is downloaded to your cache directory before Enbas opens it with your preferred media player. +In order to view images and videos, you must specify your image viewer and +video player in your configuration file respectively. + +See the [Configuration reference page](configuration.md#integration) on how to set up integration with +your media players. + +``` +enbas show --type media --from status --status-id 01J0N11V4V7PWH0DDRAVT7TCFK --attachment-id 01J0N0RQSJ7CFGKHA30F7GBQXT +``` + +| flag | type | required | description | default | +|------|------|----------|-------------|---------| +| `type` | string | true | The resource you want to view.
Here this should be `media`. | | +| `from` | string | true | The resource you want to view the media from.
Here this should be `status`. | | +| `status-id` | string | true | The ID of the status that you want to view the media from. | | +| `attachment-id` | string | true | The ID of the media attachment to download and view.
Use this flag multiple times to specify multiple media attachments. | | + ## Bookmarks ### View your bookmarks