summaryrefslogtreecommitdiffstats
path: root/src/commands/release.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-01-18 10:23:42 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-18 14:19:39 +0100
commit9aa56fcb69e53aedc20973c5c6284d3e277f92fe (patch)
tree62cd4ba8b65a4251b2d033458e50382869cb178c /src/commands/release.rs
parent0a3c5e2931f261b4476b1ab716755a356252a423 (diff)
Add comments on subcommand implementations
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/commands/release.rs')
-rw-r--r--src/commands/release.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/release.rs b/src/commands/release.rs
index 1f494ce..79a7d21 100644
--- a/src/commands/release.rs
+++ b/src/commands/release.rs
@@ -22,6 +22,7 @@ use crate::db::models as dbmodels;
use crate::config::Configuration;
use crate::db::DbConnectionConfig;
+/// Implementation of the "release" subcommand
pub async fn release(db_connection_config: DbConnectionConfig, config: &Configuration, matches: &ArgMatches) -> Result<()> {
if !(config.releases_directory().exists() && config.releases_directory().is_dir()) {
return Err(anyhow!("Release directory does not exist or does not point to directory: {}", config.releases_directory().display()))