From 89fa27180be5fca9efab7c97c7d3b3d026277fa5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 26 Apr 2021 14:34:41 +0200 Subject: Add module-level docs Signed-off-by: Matthias Beyer --- src/commands/build.rs | 2 ++ src/commands/db.rs | 2 ++ src/commands/dependencies_of.rs | 2 ++ src/commands/endpoint.rs | 2 ++ src/commands/endpoint_container.rs | 2 ++ src/commands/env_of.rs | 2 ++ src/commands/find_artifact.rs | 2 ++ src/commands/find_pkg.rs | 2 ++ src/commands/lint.rs | 2 ++ src/commands/metrics.rs | 2 ++ src/commands/release.rs | 2 ++ src/commands/source.rs | 2 ++ src/commands/tree_of.rs | 2 ++ src/commands/util.rs | 2 ++ src/commands/versions_of.rs | 2 ++ src/commands/what_depends.rs | 2 ++ 16 files changed, 32 insertions(+) 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; -- cgit v1.2.3