diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-05-17 13:21:33 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-05-17 13:21:33 +0200 |
commit | 41d058415ceb6cf725416d5cc9cfa49092da0cea (patch) | |
tree | 8ff3cf99df76df8416db5d489fbcb21f63315ab0 /src/cli.rs | |
parent | df0db108c06836bd986a091274e027838523c23d (diff) |
Add "db setup" subcommand
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -121,6 +121,14 @@ pub fn cli<'a>() -> App<'a> { ) ) + .subcommand(App::new("setup") + .version(crate_version!()) + .about("Run the database setup") + .long_about(indoc::indoc!(r#" + Run the database setup migrations + "#)) + ) + .subcommand(App::new("artifacts") .version(crate_version!()) .about("List artifacts from the DB") |