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

推荐订阅源

U
Unit 42
B
Blog
博客园 - Franky
H
Help Net Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
云风的 BLOG
云风的 BLOG
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
宝玉的分享
宝玉的分享
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Vercel News
Vercel News
V
V2EX
Martin Fowler
Martin Fowler
T
Tailwind CSS 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.