migrate icon indicating copy to clipboard operation
migrate copied to clipboard

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

Open benjie opened this issue 4 years ago • 2 comments

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..." :wink: -- @Benjie

benjie avatar Sep 15 '21 12:09 benjie

I was just coming here to see if this'd been suggested yet! I want to graphile-migrate a thing && pg_prove to run pgTAP tests in development.

graphile-migrate current has my vote re shorter names

dmfay avatar Sep 15 '22 17:09 dmfay

current or even latest would be my pick

DanielFGray avatar Oct 24 '23 16:10 DanielFGray