I got tired of clicking through the Stripe dashboard, so I built a CLI
Eduard Maghakyan created a command-line interface (CLI) tool named gatr to simplify managing Stripe products and prices. The tool allows users to define their Stripe configurations in a YAML file and apply changes with a single command, ensuring idempotency. This development was motivated by frustrations with the existing Stripe dashboard's inefficiencies and lack of version control.
- ▪Gatr enables users to manage Stripe products and prices using a YAML file.
- ▪The CLI fetches the current state of a Stripe account, computes a diff, and applies changes safely.
- ▪Maghakyan's tool avoids the need for a SaaS layer or GUI, focusing solely on command-line functionality.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 113916) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Eduard Maghakyan Posted on May 24 I got tired of clicking through the Stripe dashboard, so I built a CLI #showdev #go #stripe #webdev It was a Tuesday night, and I was renaming a price in the Stripe dashboard. A price I had already renamed in our code three weeks earlier. The deployment had gone fine. Customers were unaffected.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).