From e90fd205bd8862bbca75eb2593ccb8812ace2296 Mon Sep 17 00:00:00 2001 From: "Steve Lee (POWERSHELL HE/HIM) (from Dev Box)" Date: Fri, 27 Jun 2025 11:19:44 -0700 Subject: [PATCH 1/2] Fix default output to YAML when used interactively --- dsc/src/resource_command.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/dsc/src/resource_command.rs b/dsc/src/resource_command.rs index 416af1a51..c1b00f6fc 100644 --- a/dsc/src/resource_command.rs +++ b/dsc/src/resource_command.rs @@ -55,6 +55,7 @@ pub fn get(dsc: &DscManager, resource_type: &str, input: &str, format: Option<&G let format = match format { Some(&GetOutputFormat::PrettyJson) => Some(&OutputFormat::PrettyJson), Some(&GetOutputFormat::Yaml) => Some(&OutputFormat::Yaml), + None => None, _ => Some(&OutputFormat::Json), }; write_object(&json, format, false); From 6081f3b1b78c6b8032d304b96cafe98cbbe12150 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Fri, 11 Jul 2025 15:12:12 -0700 Subject: [PATCH 2/2] update version to 3.1.1 --- dsc/Cargo.lock | 2 +- dsc/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dsc/Cargo.lock b/dsc/Cargo.lock index f32311211..e098aba9e 100644 --- a/dsc/Cargo.lock +++ b/dsc/Cargo.lock @@ -551,7 +551,7 @@ dependencies = [ [[package]] name = "dsc" -version = "3.1.0" +version = "3.1.1" dependencies = [ "clap", "clap_complete", diff --git a/dsc/Cargo.toml b/dsc/Cargo.toml index 1324a5d9e..d5384b24d 100644 --- a/dsc/Cargo.toml +++ b/dsc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dsc" -version = "3.1.0" +version = "3.1.1" edition = "2021" [profile.release]