diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-03-10 10:32:24 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-03-10 11:48:45 +0100 |
commit | 0ecac14b26d6eea26328aefff1c4e88d25cd643c (patch) | |
tree | ba35fcf8ccbdc36384794826dfb7b05918351580 /src/main.rs | |
parent | a554772d25026a9cf223514d9422c70fc9b15f69 (diff) | |
parent | 9a79643ced98567ab7b0c742f0d161cb5dd43578 (diff) |
Merge branch 'subcommand-endpoint'
Conflicts:
src/cli.rs
src/main.rs
from merging the "metrics" subcommand implementation branch first.
Conflicts were trivial, so I resolved them here in the merge commit.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 35c0ffb..9cfdfe2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -190,6 +190,7 @@ async fn main() -> Result<()> { crate::commands::metrics(&repo_path, &config, repo, conn).await? } + Some(("endpoint", matches)) => crate::commands::endpoint(matches, &config, progressbars).await?, Some((other, _)) => return Err(anyhow!("Unknown subcommand: {}", other)), None => return Err(anyhow!("No subcommand")), } |