The rules

  1. Publishing

26. Publishing

si publish posts a deck to LinkedIn as a document post (the deck as PDF, which the feed shows as a swipeable carousel) and an article to LinkedIn as a link post, or to dev.to or Hashnode. It is a dry run that prints the exact requests unless you add --yes.

markdown
---
title: The Thursday Promise
description: How one order crosses five hand-offs and still arrives on Thursday.
linkedin: Our checkout keeps a promise across five hand-offs. Here is how, in 22 slides. #logistics #retries
tags: go, reliability, payments
canonical: https://northwind.dev/talks/thursday
---
Shell
si publish talk.md --to linkedin                 # dry run
si publish talk.md --to linkedin --yes           # renders the PDF, uploads, posts
si publish article.md --to devto --base-url https://northwind.dev/retry --yes   # a draft; --public publishes
si publish article.md --to linkedin --url https://northwind.dev/retry --yes
si publish article.md --to linkedin --copy       # rich text for LinkedIn's article editor
si publish login linkedin --client-id ID --client-secret SECRET   # or --token
si publish logout

Details, scopes and the exact requests: docs/publish.md.