docs: add CLI demo

This commit is contained in:
Maas Lalani 2023-06-21 15:23:06 -04:00
parent 85b29ab02a
commit 692ab75ea7
No known key found for this signature in database
GPG key ID: 5A6ED5CBF1A0A000
3 changed files with 30 additions and 1 deletions

View file

@ -8,7 +8,7 @@
Send emails from your terminal.
<img width="600" src="https://vhs.charm.sh/vhs-5Ci4SK0PHtyZGoccEOvUEB.gif" alt="pop mail client">
<img width="600" src="https://vhs.charm.sh/vhs-5Ci4SK0PHtyZGoccEOvUEB.gif" alt="pop mail text-based client">
## Text-based User Interface
@ -28,6 +28,8 @@ pop < message.md \
--attach invoice.pdf
```
<img src="https://vhs.charm.sh/vhs-34Bcki61sHuNlsxfFVLbj4.gif" alt="pop mail command line client">
## Installation
Use a package manager:

21
cli.tape Normal file
View file

@ -0,0 +1,21 @@
Output demo.gif
Set Padding 40
Set FontSize 20
Set Width 600
Set Height 400
Hide
Type "export RESEND_API_KEY=$(pass RESEND_API_KEY)"
Enter
Sleep 1
Ctrl+L
Show
Type "pop < message.md \" Enter
Type "--from 'pop@lalani.dev' \" Enter
Type "--to 'maas@charm.sh' \" Enter
Type "--subject 'Pop' \" Enter
Type "--attach README.md"
Sleep 0.5
Enter
Sleep 5

6
message.md Normal file
View file

@ -0,0 +1,6 @@
# Pop
Send **emails** from the _terminal_.
Sincerely,
Charm_