Skip to content

Commit a5d69cd

Browse files
authored
docs: Document r flag in tasks docs (#522)
1 parent 800900b commit a5d69cd

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

lib/mix/tasks/ash_postgres.create.ex

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ defmodule Mix.Tasks.AshPostgres.Create do
2828
## Command line options
2929
3030
* `--domains` - the domains who's repos you want to migrate.
31+
* `-r, --repo` - the repo to create
3132
* `--quiet` - do not log output
3233
* `--no-compile` - do not compile before creating
3334
* `--no-deps-check` - do not compile before creating

lib/mix/tasks/ash_postgres.drop.ex

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ defmodule Mix.Tasks.AshPostgres.Drop do
3131
## Command line options
3232
3333
* `--domains` - the domains who's repos should be dropped
34+
* `-r, --repo` - the repo to drop
3435
* `-q`, `--quiet` - run the command quietly
3536
* `-f`, `--force` - do not ask for confirmation when dropping the database.
3637
Configuration is asked only when `:start_permanent` is set to true

lib/mix/tasks/ash_postgres.migrate.ex

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ defmodule Mix.Tasks.AshPostgres.Migrate do
7474
7575
* `--all` - run all pending migrations
7676
77+
* `--repo`, `-r` - the repo to migrate
78+
7779
* `--step`, `-n` - run n number of pending migrations
7880
7981
* `--to` - run all migrations up to and including version

lib/mix/tasks/ash_postgres.rollback.ex

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ defmodule Mix.Tasks.AshPostgres.Rollback do
3232
## Command line options
3333
* `--domains` - the domains who's repos should be rolledback
3434
* `--all` - revert all applied migrations
35+
* `--repo`, `-r` - the repo to rollback
3536
* `--step` / `-n` - revert n number of applied migrations
3637
* `--to` / `-v` - revert all migrations down to and including version
3738
* `--quiet` - do not log migration commands

0 commit comments

Comments
 (0)