`graphile-migrate watch --once` is hard to discover
benjie opened this issue · 2 comments
benjie commented
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
orgraphile-migrate watch-once
or similar (suggestions welcome, I'm currently leaning towardswatch-once
)
Really it's "run all migrations plus the current migration and then exit"
Or "watch mode but without the watching..."😉
-- @benjie
dmfay commented
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