惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
A
About on SuperTechFans
博客园 - Franky
Engineering at Meta
Engineering at Meta
Recent Announcements
Recent Announcements
云风的 BLOG
云风的 BLOG
B
Blog
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
Martin Fowler
Martin Fowler
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
博客园 - 叶小钗
Vercel News
Vercel News
Apple Machine Learning Research
Apple Machine Learning Research
The Cloudflare Blog
Last Week in AI
Last Week in AI
腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
爱范儿
爱范儿
V
V2EX
G
Google Developers Blog

Buttondown's blog

Email could have been X.400 times better The physicists who convinced Fermilab to send Brazil's emails Better in-app previews Analytics 3.0 Subscriber ID variables Comments! Send latest premium action Automation filtering Free API subscribers Surveys in automations Reply to replies Labels for RSS feeds How Jeremy Singer-Vine curates curious datasets for readers 2023 (and what's next) Email vs web content Sort by engagement Better gift subscriptions How Andy Dehnart built a career reviewing television New email template Email-based automations Opt-in reply tracking Automatic alt text More social network integrations Sort by metadata Overlarge image warnings Automation tag actions Pause emails mid-flight Search tags and automations Gift via automations Subscriber-driving emails
CLI
Justin Duke · 2025-05-28 · via Buttondown's blog

Command-line tool for bidirectional syncing of emails, automations, and images.

Justin Duke

Justin Duke

May 28, 2025

A screenshot of the CLI

We've launched a CLI for Buttondown!

Try it now:

pnpx @buttondown/cli login

Why build a CLI?

We've put a lot of effort into making the Buttondown API as powerful and flexible as possible, and have resisted the urge to build "yes-and" surfaces on top of it since it felt like adding surface area without commensurate value: having a Python wrapper around our API is nice, but it doesn't actually accomplish anything that twenty lines of boilerplate code can't.

Similarly, rather than be yet another CLI that acts as a glorified wrapper around the OpenAPI spec, we really wanted a CLI to be purpose-driven and accomplish something that would be otherwise onerous or impossible for an average user to build. In this case, we wanted to build a file-first sync engine for your entire newsletter. You can bidirectionally sync emails, automations, images and attachments, and much more as soon as we figure out when to build it and whether or not it's useful.

There's still a lot of functionality planned with the CLI: support for automations, attachments, and surveys will be coming soon. We also want to replace the easy-to-set-up-but-vaguely-janky API key-based auth with OAuth, like the big boys do.

But our philosophy has always been to release things not when they're finished, but when their presence is valuable enough to warrant their existence. Please take a look, give it a spin, and let us know what you think.