updated readme
This commit is contained in:
parent
10b7272ca8
commit
8e783e031e
14
README.md
14
README.md
@ -26,10 +26,12 @@ Just install from pypi:
|
|||||||
Usage: aerich [OPTIONS] COMMAND [ARGS]...
|
Usage: aerich [OPTIONS] COMMAND [ARGS]...
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
-V, --version Show the version and exit.
|
||||||
-c, --config TEXT Config file. [default: aerich.ini]
|
-c, --config TEXT Config file. [default: aerich.ini]
|
||||||
--app TEXT Tortoise-ORM app name. [default: models]
|
--app TEXT Tortoise-ORM app name.
|
||||||
-n, --name TEXT Name of section in .ini file to use for aerich config.
|
-n, --name TEXT Name of section in .ini file to use for aerich config.
|
||||||
[default: aerich]
|
[default: aerich]
|
||||||
|
|
||||||
-h, --help Show this message and exit.
|
-h, --help Show this message and exit.
|
||||||
|
|
||||||
Commands:
|
Commands:
|
||||||
@ -40,7 +42,7 @@ Commands:
|
|||||||
init-db Generate schema and generate app migrate location.
|
init-db Generate schema and generate app migrate location.
|
||||||
inspectdb Introspects the database tables to standard output as...
|
inspectdb Introspects the database tables to standard output as...
|
||||||
migrate Generate migrate changes file.
|
migrate Generate migrate changes file.
|
||||||
upgrade Upgrade to latest version.
|
upgrade Upgrade to specified version.
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@ -68,10 +70,12 @@ Usage: aerich init [OPTIONS]
|
|||||||
|
|
||||||
Init config file and generate root migrate location.
|
Init config file and generate root migrate location.
|
||||||
|
|
||||||
Options:
|
OOptions:
|
||||||
-t, --tortoise-orm TEXT Tortoise-ORM config module dict variable, like settings.TORTOISE_ORM.
|
-t, --tortoise-orm TEXT Tortoise-ORM config module dict variable, like
|
||||||
[required]
|
settings.TORTOISE_ORM. [required]
|
||||||
|
|
||||||
--location TEXT Migrate store location. [default: ./migrations]
|
--location TEXT Migrate store location. [default: ./migrations]
|
||||||
|
-s, --src_folder TEXT Folder of the source, relative to the project root.
|
||||||
-h, --help Show this message and exit.
|
-h, --help Show this message and exit.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user