Skip to content

Commit

Permalink
add cli help dump for db section
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
seapagan committed Apr 26, 2023
1 parent e74a676 commit e2bcde4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -238,6 +238,24 @@ alembic upgrade head
Check out the [Alembic](https://github.com/sqlalchemy/alembic) repository for
more information on how to use (for example how to revert migrations).

Look at the built-in help for more details :

```console
$ ./api-admin db --help
Usage: api-admin db [OPTIONS] COMMAND [ARGS]...

Control the Database.

Options:
--help Show this message and exit.

Commands:
drop Drop all tables and reset the Database
init Re-Initialise the database using Alembic.
revision Create a new revision.
upgrade Apply the latest Database Migrations.
```

### Customize the Metadata

By default the Template Title, Description, Author and similar is set to my

0 comments on commit e2bcde4

Please sign in to comment.