Skip to content

1focus-ai/fast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flow

CLI to do things fast

Usage

Running the command without arguments prints the built-in help:

flow-ts 0.1
CLI to do things fast

Commands:
  clearGhNotifs   Clear GitHub notifications (placeholder)
  sendEmail       Send email through Resend using Markdown templates (default: ~/.config/friendik/email/send.md)
  clone           Clone a repo into ~/gh/<namespace>/<repo>

Flags:
  --version, -v   Show CLI version
  --help          Show command-specific help

Examples:
  flow-ts sendEmail --help
  flow-ts clone [email protected]:user/repo.git

Commands

  • flow-ts clearGhNotifs – placeholder that currently just prints a stub message.
  • flow-ts sendEmail – renders a Markdown template and sends it through the Resend API.
  • flow-ts clone <repo> – clones a Git repository into ~/gh/<namespace>/<repo> after validating the path.

Sending email with Resend

flow-ts sendEmail expects RESEND_API_KEY to be present in your environment. It resolves the email template from (in order):

  1. --content / --file CLI flag
  2. RESEND_CONTENT
  3. ~/.config/friendik/email/send.md

The template is Markdown with YAML front matter. A minimal example:

---
from: [email protected]
to:
  - [email protected]
subject: Launch Update
---

# Launch Update

Body content in Markdown...

You can supply cc, bcc, and replyTo fields in the front matter or via RESEND_CC, RESEND_BCC, and RESEND_REPLY_TO. CLI flags (--from, --to, --subject) and their corresponding environment variables override the template values when present.

About

CLI to move faster in software projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published