mirror of
https://github.com/ivabus/pop
synced 2024-12-04 22:15:08 +03:00
docs: add CLI demo
This commit is contained in:
parent
85b29ab02a
commit
692ab75ea7
3 changed files with 30 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
Send emails from your terminal.
|
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
|
## Text-based User Interface
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ pop < message.md \
|
||||||
--attach invoice.pdf
|
--attach invoice.pdf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<img src="https://vhs.charm.sh/vhs-34Bcki61sHuNlsxfFVLbj4.gif" alt="pop mail command line client">
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Use a package manager:
|
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_
|
Loading…
Reference in a new issue