Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#557 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cli, go
領域
api, cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Go
スター
412
フォーク
52
平均マージ
22時間 16分
マージ済み PR(30日)
75

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

basecamp/hey-cli のほかの issue

basecamp/hey-cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。