Skip to content

Commit 1e6947e

Browse files
committed
added comment
1 parent 8491ffd commit 1e6947e

File tree

1 file changed

+4
-0
lines changed
  • rust/stackablectl/src/cli

1 file changed

+4
-0
lines changed

rust/stackablectl/src/cli/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ fn get_files(default_file: &str, env_key: &str) -> Result<Vec<PathOrUrl>, PathOr
292292
Ok(files)
293293
}
294294

295+
/// Enum used for resolving the argument for chart source type. This will be
296+
/// mapped to ChartSourceType (see below): the reason why we don't have one
297+
/// enum is to avoid having to add clap dependencies to stackable-cockpit
298+
/// for the ValueEnum macro.
295299
#[derive(Clone, Debug, Default, ValueEnum)]
296300
pub enum ChartSourceTypeArg {
297301
/// OCI registry

0 commit comments

Comments
 (0)