summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-04-26 14:34:41 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-05-11 11:21:36 +0200
commit89fa27180be5fca9efab7c97c7d3b3d026277fa5 (patch)
treee5e13ab040d3f79ae83cd8e8600a1583e172be43
parente5a944e95d607fd292a071a0fd9828b6cf9d4326 (diff)
Add module-level docs
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--src/commands/build.rs2
-rw-r--r--src/commands/db.rs2
-rw-r--r--src/commands/dependencies_of.rs2
-rw-r--r--src/commands/endpoint.rs2
-rw-r--r--src/commands/endpoint_container.rs2
-rw-r--r--src/commands/env_of.rs2
-rw-r--r--src/commands/find_artifact.rs2
-rw-r--r--src/commands/find_pkg.rs2
-rw-r--r--src/commands/lint.rs2
-rw-r--r--src/commands/metrics.rs2
-rw-r--r--src/commands/release.rs2
-rw-r--r--src/commands/source.rs2
-rw-r--r--src/commands/tree_of.rs2
-rw-r--r--src/commands/util.rs2
-rw-r--r--src/commands/versions_of.rs2
-rw-r--r--src/commands/what_depends.rs2
16 files changed, 32 insertions, 0 deletions
diff --git a/src/commands/build.rs b/src/commands/build.rs
index df4b672..8825750 100644
--- a/src/commands/build.rs
+++ b/src/commands/build.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'build' subcommand
+
use std::io::Write;
use std::path::Path;
use std::path::PathBuf;
diff --git a/src/commands/db.rs b/src/commands/db.rs
index 09cd67d..ee16ee6 100644
--- a/src/commands/db.rs
+++ b/src/commands/db.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'db' subcommand
+
use std::io::Write;
use std::path::PathBuf;
use std::process::Command;
diff --git a/src/commands/dependencies_of.rs b/src/commands/dependencies_of.rs
index 41a8531..3e4ff21 100644
--- a/src/commands/dependencies_of.rs
+++ b/src/commands/dependencies_of.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'dependencies-of' subcommand
+
use anyhow::Result;
use clap::ArgMatches;
use log::trace;
diff --git a/src/commands/endpoint.rs b/src/commands/endpoint.rs
index 023fd74..4de51d2 100644
--- a/src/commands/endpoint.rs
+++ b/src/commands/endpoint.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'endpoint' subcommand
+
use std::collections::HashMap;
use std::ops::Deref;
use std::str::FromStr;
diff --git a/src/commands/endpoint_container.rs b/src/commands/endpoint_container.rs
index abaf49e..9ee3f3b 100644
--- a/src/commands/endpoint_container.rs
+++ b/src/commands/endpoint_container.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'endpoint container' subcommand
+
use std::str::FromStr;
use anyhow::Error;
diff --git a/src/commands/env_of.rs b/src/commands/env_of.rs
index c763a23..9eebc28 100644
--- a/src/commands/env_of.rs
+++ b/src/commands/env_of.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'env-of' subcommand
+
use std::convert::TryFrom;
use anyhow::Result;
diff --git a/src/commands/find_artifact.rs b/src/commands/find_artifact.rs
index 17db563..19e8e2f 100644
--- a/src/commands/find_artifact.rs
+++ b/src/commands/find_artifact.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'find-artifact' subcommand
+
use std::path::PathBuf;
use std::io::Write;
use std::sync::Arc;
diff --git a/src/commands/find_pkg.rs b/src/commands/find_pkg.rs
index 7190ef8..d45c946 100644
--- a/src/commands/find_pkg.rs
+++ b/src/commands/find_pkg.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'find-pkg' subcommand
+
use std::convert::TryFrom;
use anyhow::Context;
diff --git a/src/commands/lint.rs b/src/commands/lint.rs
index 2a54c62..951b845 100644
--- a/src/commands/lint.rs
+++ b/src/commands/lint.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'lint' subcommand
+
use std::convert::TryFrom;
use std::path::Path;
diff --git a/src/commands/metrics.rs b/src/commands/metrics.rs
index d7f68fb..0efc1e1 100644
--- a/src/commands/metrics.rs
+++ b/src/commands/metrics.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'metrics' subcommand
+
use std::path::Path;
use std::io::Write;
diff --git a/src/commands/release.rs b/src/commands/release.rs
index 837ebb8..6f0232b 100644
--- a/src/commands/release.rs
+++ b/src/commands/release.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'release' subcommand
+
use std::io::Write;
use std::path::PathBuf;
diff --git a/src/commands/source.rs b/src/commands/source.rs
index 55ca1c3..0fc1eac 100644
--- a/src/commands/source.rs
+++ b/src/commands/source.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'source' subcommand
+
use std::io::Write;
use std::path::PathBuf;
use std::convert::TryFrom;
diff --git a/src/commands/tree_of.rs b/src/commands/tree_of.rs
index 10e51d3..e632ed5 100644
--- a/src/commands/tree_of.rs
+++ b/src/commands/tree_of.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'tree-of' subcommand
+
use std::convert::TryFrom;
use anyhow::Error;
diff --git a/src/commands/util.rs b/src/commands/util.rs
index 5749e66..fed503e 100644
--- a/src/commands/util.rs
+++ b/src/commands/util.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Utility module for subcommand implementation helpers
+
use std::io::Write;
use std::fmt::Display;
use std::path::Path;
diff --git a/src/commands/versions_of.rs b/src/commands/versions_of.rs
index 1a709dc..b0aad28 100644
--- a/src/commands/versions_of.rs
+++ b/src/commands/versions_of.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'versions_of' subcommand
+
use anyhow::Error;
use anyhow::Result;
use clap::ArgMatches;
diff --git a/src/commands/what_depends.rs b/src/commands/what_depends.rs
index 578e067..10c9edc 100644
--- a/src/commands/what_depends.rs
+++ b/src/commands/what_depends.rs
@@ -8,6 +8,8 @@
// SPDX-License-Identifier: EPL-2.0
//
+//! Implementation of the 'what_depends' subcommand
+
use anyhow::Result;
use clap::ArgMatches;
use log::trace;