Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add HEY World commands: list, publish, edit, and unpublish posts

Open
#557 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cli, go
Domain
api, cli

Research direction

The payload names no files or tests. Start from the existing publish path, hey compose --to [email protected], to see how a post is sent today and whether the HEY World API is reachable from the CLI. The request covers five subcommands (list, show, publish, edit, unpublish) and leaves open whether unpublish deletes or hides a post. Done when the commands exist, publish returns the URL and id, and the delete-or-hide behaviour is documented.

Written by the indexing model from the issue text.

Description

Request

Add HEY World commands so posts can be managed without the app, for example:

hey world list                 # list my published posts (id, title, url, date)
hey world show <post>          # view one post
hey world publish --subject "Title" < post.md   # publish, returning the post URL
hey world edit <post> ...      # update title/body
hey world unpublish <post>     # take a post down / delete it

Why

Publishing today means hey compose --to [email protected]. There's no way to list, fix, or remove a post from the CLI. When something goes wrong, like the duplicate posts in #556, cleanup has to happen in the app. Scripts and agents that publish need a matching way to verify and undo.

Notes

  • publish should return the post's URL and id, so callers can check it was published instead of retrying.
  • unpublish should be clear about whether it deletes the post or just hides it, and whether subscribers already got it by email.
  • list --json would let tools check for duplicates before publishing.

Related: #556.

hey version 1.8.0

Dominant language
Go
Stars
409
Forks
49
Avg merge
23h 49m
Merged PRs (30d)
70

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from basecamp/hey-cli

All issues in basecamp/hey-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.