diff --git a/Cargo.lock b/Cargo.lock index 14dd364..b5fb014 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -95,7 +95,7 @@ checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" [[package]] name = "cdh" -version = "0.1.8" +version = "0.1.9" dependencies = [ "clap", "clap_complete", diff --git a/Cargo.toml b/Cargo.toml index f32eeec..d9e48c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cdh" authors = ["allanger "] -version = "0.1.8" +version = "0.1.9" description = "Your helm releases are outdated, aren't they? Now you can check" edition = "2021" diff --git a/src/main.rs b/src/main.rs index 33fca96..360e3dc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,7 +20,7 @@ use crate::types::{HelmChart, Status}; #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum)] enum Kinds { Argo, - Helm, + //Helm, Helmfile, } @@ -92,7 +92,7 @@ fn main() { info!("syncing helm repositories"); let res = match args.kind { Kinds::Argo => Argo::init().sync_repos(), - Kinds::Helm => Helm::init().sync_repos(), + // Kinds::Helm => Helm::init().sync_repos(), Kinds::Helmfile => Helmfile::init(args.path.clone(), args.helmfile_environment.clone()).sync_repos(), }; match res { @@ -103,7 +103,7 @@ fn main() { let charts = match args.kind { Kinds::Argo => Argo::init().get_app(), - Kinds::Helm => Helm::init().get_app(), + //Kinds::Helm => Helm::init().get_app(), Kinds::Helmfile => Helmfile::init(args.path.clone(), args.helmfile_environment.clone()).get_app(), } .unwrap();