docs: add CLI demo
This commit is contained in:
@@ -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
21
cli.tape
Normal 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
6
message.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Pop
|
||||
|
||||
Send **emails** from the _terminal_.
|
||||
|
||||
Sincerely,
|
||||
Charm_
|
||||
Reference in New Issue
Block a user