Skip to content

Rename refinery_cli -> refinery in cli examples #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions refinery_cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ cargo install refinery_cli
Setup your database type and access credentials with `setup`.

```sh
refinery_cli setup
refinery setup
```

After that, just run your migrations giving your config file with `-c` flag (by defaults it is the `refinery.toml` generated by the setup) and migrations dir with `files -p $dir`.

```sh
refinery_cli migrate -c sqlite_refinery.toml files -p ./sql_migrations
refinery migrate -c sqlite_refinery.toml files -p ./sql_migrations
```

For more info and migration options run.

```sh
refinery_cli migrate --help
refinery migrate --help
```