From 692ab75ea72ad5e7029d95a954a68791e2b4b439 Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Wed, 21 Jun 2023 15:23:06 -0400 Subject: [PATCH] docs: add CLI demo --- README.md | 4 +++- cli.tape | 21 +++++++++++++++++++++ message.md | 6 ++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 cli.tape create mode 100644 message.md diff --git a/README.md b/README.md index 459ef1d..7d2e98f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Send emails from your terminal. -pop mail client +pop mail text-based client ## Text-based User Interface @@ -28,6 +28,8 @@ pop < message.md \ --attach invoice.pdf ``` +pop mail command line client + ## Installation Use a package manager: diff --git a/cli.tape b/cli.tape new file mode 100644 index 0000000..d3c8a95 --- /dev/null +++ b/cli.tape @@ -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 diff --git a/message.md b/message.md new file mode 100644 index 0000000..18e1f33 --- /dev/null +++ b/message.md @@ -0,0 +1,6 @@ +# Pop + +Send **emails** from the _terminal_. + +Sincerely, +Charm_