diff --git a/Directory.Packages.props b/Directory.Packages.props index a05c64d..e70af5f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,7 +3,7 @@ true - + @@ -19,9 +19,9 @@ - + - + diff --git a/src/ProjGraph.Cli/Commands/ClassDiagramCommand.cs b/src/ProjGraph.Cli/Commands/ClassDiagramCommand.cs index b680f4c..d6e684e 100644 --- a/src/ProjGraph.Cli/Commands/ClassDiagramCommand.cs +++ b/src/ProjGraph.Cli/Commands/ClassDiagramCommand.cs @@ -137,7 +137,7 @@ public override ValidationResult Validate() /// A task that represents the asynchronous operation. The task result contains an integer /// indicating the exit code of the command (0 for success, 1 for failure). /// - protected override async Task ExecuteAsync( + public override async Task ExecuteAsync( CommandContext context, Settings settings, CancellationToken cancellationToken) diff --git a/src/ProjGraph.Cli/Commands/ErdCommand.cs b/src/ProjGraph.Cli/Commands/ErdCommand.cs index e5998b7..f3f2612 100644 --- a/src/ProjGraph.Cli/Commands/ErdCommand.cs +++ b/src/ProjGraph.Cli/Commands/ErdCommand.cs @@ -143,7 +143,7 @@ public override ValidationResult Validate() /// /// An integer representing the exit code of the command. Returns 0 if successful, 1 otherwise. /// - protected override async Task ExecuteAsync( + public override async Task ExecuteAsync( CommandContext context, Settings settings, CancellationToken cancellationToken) diff --git a/src/ProjGraph.Cli/Commands/StatsCommand.cs b/src/ProjGraph.Cli/Commands/StatsCommand.cs index 2db3d8f..7ffd14e 100644 --- a/src/ProjGraph.Cli/Commands/StatsCommand.cs +++ b/src/ProjGraph.Cli/Commands/StatsCommand.cs @@ -60,7 +60,7 @@ public override ValidationResult Validate() } /// - protected override async Task ExecuteAsync(CommandContext context, Settings settings, + public override async Task ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellationToken) { try diff --git a/src/ProjGraph.Cli/Commands/VisualizeCommand.cs b/src/ProjGraph.Cli/Commands/VisualizeCommand.cs index 40454f3..901fe28 100644 --- a/src/ProjGraph.Cli/Commands/VisualizeCommand.cs +++ b/src/ProjGraph.Cli/Commands/VisualizeCommand.cs @@ -130,7 +130,7 @@ NormalizedFormat is not FormatTree && /// /// An integer representing the exit code of the command. Returns 0 if successful, 1 otherwise. /// - protected override async Task ExecuteAsync( + public override async Task ExecuteAsync( CommandContext context, Settings settings, CancellationToken cancellationToken)