Skip to content

Add initial no-tty implementation#162

Open
bulters wants to merge 1 commit into
charmbracelet:mainfrom
bulters:features/no-tty
Open

Add initial no-tty implementation#162
bulters wants to merge 1 commit into
charmbracelet:mainfrom
bulters:features/no-tty

Conversation

@bulters

@bulters bulters commented Feb 18, 2026

Copy link
Copy Markdown
  • I have read CONTRIBUTING.md.
  • I have created a discussion that was approved by a maintainer (for new features).

This closes #160

@meowgorithm

Copy link
Copy Markdown
Member

Hi, and thanks for the contribution. Question: does this not already work headless? From the README:

pop < message.md \
    --from "me@example.com" \
    --to "you@example.com" \
    --subject "Hello, world!" \
    --attach invoice.pdf

@jficz

jficz commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

I believe this (merged) PR solves the issue as well #124

If not, why exactly? iirc hasStdin() only tests for body input so it should be the only case where tty test happen(ed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to use pop in cron jobs

3 participants