refactor(cli): rename the emigrate package to @emigrate/cli to be more in line with other tools
This commit is contained in:
parent
9f5abf727d
commit
0b78d5cf32
16 changed files with 34 additions and 11 deletions
21
packages/cli/README.md
Normal file
21
packages/cli/README.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# @emigrate/cli
|
||||
|
||||
Emigrate is a tool for managing database migrations. It is designed to be simple yet support advanced setups, modular and extensible.
|
||||
|
||||
## Installation
|
||||
|
||||
Install the Emigrate CLI in your project:
|
||||
|
||||
```bash
|
||||
npm install --save-dev @emigrate/cli
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Create a new migration:
|
||||
|
||||
```bash
|
||||
emigrate new -d migrations -e .js create some fancy table
|
||||
```
|
||||
|
||||
Will create a new empty JavaScript migration file with the name "YYYYMMDDHHmmssuuu_create_some_fancy_table.js" in the `migrations` directory.
|
||||
Loading…
Add table
Add a link
Reference in a new issue