`graphile-migrate watch --once` is hard to discover

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞

調査の方向性

graphile-migrate --help の出力と、既存の watch コマンドのエントリーポイントから始めます。範囲をより明確なヘルプテキストだけにするのか、新しいエイリアスも含めるのかを判断し、そのうえで選択したコマンドがマイグレーションを一度だけ実行して終了することを表しているか確認します。Issue では具体的なファイルやテストは指定されていません。

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

説明

When you run graphile-migrate --help there's no hint that watch --once exists, and the description for watch doesn't seem like what you need.

Suggestions:

  • Update the watch description so it also covers the --once use case
  • Consider adding a command alias (identical to calling graphile-migrate watch --once) to raise this to a top-level concern; e.g. graphile-migrate run-current or graphile-migrate watch-once or similar (suggestions welcome, I'm currently leaning towards watch-once)

Really it's "run all migrations plus the current migration and then exit"
Or "watch mode but without the watching..." 😉
-- @Benjie

主要言語
TypeScript
スター
836
フォーク
71
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

graphile/migrate のほかの issue

graphile/migrate の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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