From 50e92fce99fabc22352b6f12f6b378d2dc1dd0e3 Mon Sep 17 00:00:00 2001 From: andreas hilti <69210561+andreas-hilti@users.noreply.github.com> Date: Sat, 23 Nov 2024 22:40:20 +0100 Subject: [PATCH] Update System.CommandLine version Signed-off-by: andreas hilti <69210561+andreas-hilti@users.noreply.github.com> --- src/cyclonedx/Commands/Add/AddFilesCommand.cs | 1 + src/cyclonedx/Commands/AnalyzeCommand.cs | 1 + src/cyclonedx/Commands/ConvertCommand.cs | 1 + src/cyclonedx/Commands/DiffCommand.cs | 1 + src/cyclonedx/Commands/KeyGenCommand.cs | 1 + src/cyclonedx/Commands/MergeCommand.cs | 1 + src/cyclonedx/Commands/Sign/SignBomCommand.cs | 1 + src/cyclonedx/Commands/Sign/SignFileCommand.cs | 1 + src/cyclonedx/Commands/ValidateCommand.cs | 1 + src/cyclonedx/Commands/Verify/VerifyAllCommand.cs | 1 + src/cyclonedx/Commands/Verify/VerifyFileCommand.cs | 1 + src/cyclonedx/cyclonedx.csproj | 5 +++-- 12 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/cyclonedx/Commands/Add/AddFilesCommand.cs b/src/cyclonedx/Commands/Add/AddFilesCommand.cs index d8b0f32..5dd577e 100644 --- a/src/cyclonedx/Commands/Add/AddFilesCommand.cs +++ b/src/cyclonedx/Commands/Add/AddFilesCommand.cs @@ -29,6 +29,7 @@ using AntPathMatching; using CycloneDX.Models; using CycloneDX.Cli.Commands; +using System.CommandLine.NamingConventionBinder; namespace CycloneDX.Cli.Commands.Add { diff --git a/src/cyclonedx/Commands/AnalyzeCommand.cs b/src/cyclonedx/Commands/AnalyzeCommand.cs index 8235017..584d213 100644 --- a/src/cyclonedx/Commands/AnalyzeCommand.cs +++ b/src/cyclonedx/Commands/AnalyzeCommand.cs @@ -17,6 +17,7 @@ using System; using System.CommandLine; using System.CommandLine.Invocation; +using System.CommandLine.NamingConventionBinder; using System.Text.Json; using System.Threading.Tasks; using CycloneDX.Cli.Models; diff --git a/src/cyclonedx/Commands/ConvertCommand.cs b/src/cyclonedx/Commands/ConvertCommand.cs index b517112..a522ed2 100644 --- a/src/cyclonedx/Commands/ConvertCommand.cs +++ b/src/cyclonedx/Commands/ConvertCommand.cs @@ -17,6 +17,7 @@ using System; using System.CommandLine; using System.CommandLine.Invocation; +using System.CommandLine.NamingConventionBinder; using System.Diagnostics.Contracts; using System.Threading.Tasks; using CycloneDX.Cli; diff --git a/src/cyclonedx/Commands/DiffCommand.cs b/src/cyclonedx/Commands/DiffCommand.cs index 2c6f512..a789893 100644 --- a/src/cyclonedx/Commands/DiffCommand.cs +++ b/src/cyclonedx/Commands/DiffCommand.cs @@ -17,6 +17,7 @@ using System; using System.CommandLine; using System.CommandLine.Invocation; +using System.CommandLine.NamingConventionBinder; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; diff --git a/src/cyclonedx/Commands/KeyGenCommand.cs b/src/cyclonedx/Commands/KeyGenCommand.cs index 350d5d1..8200c43 100644 --- a/src/cyclonedx/Commands/KeyGenCommand.cs +++ b/src/cyclonedx/Commands/KeyGenCommand.cs @@ -17,6 +17,7 @@ using System; using System.CommandLine; using System.CommandLine.Invocation; +using System.CommandLine.NamingConventionBinder; using System.IO; using System.Security.Cryptography; using System.Threading.Tasks; diff --git a/src/cyclonedx/Commands/MergeCommand.cs b/src/cyclonedx/Commands/MergeCommand.cs index d52a5b3..ba83488 100644 --- a/src/cyclonedx/Commands/MergeCommand.cs +++ b/src/cyclonedx/Commands/MergeCommand.cs @@ -22,6 +22,7 @@ using System.Threading.Tasks; using CycloneDX.Models; using CycloneDX.Utils; +using System.CommandLine.NamingConventionBinder; namespace CycloneDX.Cli.Commands { diff --git a/src/cyclonedx/Commands/Sign/SignBomCommand.cs b/src/cyclonedx/Commands/Sign/SignBomCommand.cs index c6a2292..4cfc34f 100644 --- a/src/cyclonedx/Commands/Sign/SignBomCommand.cs +++ b/src/cyclonedx/Commands/Sign/SignBomCommand.cs @@ -24,6 +24,7 @@ using System.Security.Cryptography.Xml; using System.Threading.Tasks; using System.Xml; +using System.CommandLine.NamingConventionBinder; namespace CycloneDX.Cli.Commands.Sign { diff --git a/src/cyclonedx/Commands/Sign/SignFileCommand.cs b/src/cyclonedx/Commands/Sign/SignFileCommand.cs index 7f832be..11d06db 100644 --- a/src/cyclonedx/Commands/Sign/SignFileCommand.cs +++ b/src/cyclonedx/Commands/Sign/SignFileCommand.cs @@ -24,6 +24,7 @@ using System.Security.Cryptography; using System.Threading.Tasks; using System.Xml; +using System.CommandLine.NamingConventionBinder; namespace CycloneDX.Cli.Commands.Sign { diff --git a/src/cyclonedx/Commands/ValidateCommand.cs b/src/cyclonedx/Commands/ValidateCommand.cs index d30309d..3fabd1f 100644 --- a/src/cyclonedx/Commands/ValidateCommand.cs +++ b/src/cyclonedx/Commands/ValidateCommand.cs @@ -18,6 +18,7 @@ using System.Collections.Generic; using System.CommandLine; using System.CommandLine.Invocation; +using System.CommandLine.NamingConventionBinder; using System.Diagnostics.Contracts; using System.IO; using System.Linq; diff --git a/src/cyclonedx/Commands/Verify/VerifyAllCommand.cs b/src/cyclonedx/Commands/Verify/VerifyAllCommand.cs index ce90d6e..5ae2608 100644 --- a/src/cyclonedx/Commands/Verify/VerifyAllCommand.cs +++ b/src/cyclonedx/Commands/Verify/VerifyAllCommand.cs @@ -24,6 +24,7 @@ using System.Security.Cryptography.Xml; using System.Threading.Tasks; using System.Xml; +using System.CommandLine.NamingConventionBinder; namespace CycloneDX.Cli.Commands.Verify { diff --git a/src/cyclonedx/Commands/Verify/VerifyFileCommand.cs b/src/cyclonedx/Commands/Verify/VerifyFileCommand.cs index 0ad640f..82e7299 100644 --- a/src/cyclonedx/Commands/Verify/VerifyFileCommand.cs +++ b/src/cyclonedx/Commands/Verify/VerifyFileCommand.cs @@ -21,6 +21,7 @@ using System.IO; using System.Security.Cryptography; using System.Threading.Tasks; +using System.CommandLine.NamingConventionBinder; namespace CycloneDX.Cli.Commands.Verify { diff --git a/src/cyclonedx/cyclonedx.csproj b/src/cyclonedx/cyclonedx.csproj index 9616d9b..e6a458d 100644 --- a/src/cyclonedx/cyclonedx.csproj +++ b/src/cyclonedx/cyclonedx.csproj @@ -1,4 +1,4 @@ - + Exe @@ -17,7 +17,8 @@ - + +