graphile / graphile/migrate

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

Open
#139 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
835
Forks
64
Avg merge
17m
Merged PRs (30d)
5

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.