From a0e29619a47f6fa7753d74efe4a4b0b8989cc16d Mon Sep 17 00:00:00 2001 From: Scott Date: Sun, 23 Aug 2026 09:04:38 +1000 Subject: [PATCH] chore(git-provider): Move commands to command folder --- src/PowershellModule/Git/{ => Commands}/NewGitRepoCommand.cs | 4 ++-- src/PowershellModule/Git/{ => Commands}/SetGitRepoCommand.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/PowershellModule/Git/{ => Commands}/NewGitRepoCommand.cs (97%) rename src/PowershellModule/Git/{ => Commands}/SetGitRepoCommand.cs (91%) diff --git a/src/PowershellModule/Git/NewGitRepoCommand.cs b/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs similarity index 97% rename from src/PowershellModule/Git/NewGitRepoCommand.cs rename to src/PowershellModule/Git/Commands/NewGitRepoCommand.cs index 2b4bf6a..ba56252 100644 --- a/src/PowershellModule/Git/NewGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs @@ -4,10 +4,10 @@ using System.IO; using System.Management.Automation; using ModuleCore.Git; -namespace PowershellModule.Git; +namespace PowershellModule.Git.Commands; [Cmdlet(VerbsCommon.New, Noun)] -public class NewGitRepoCommand : PSCmdlet +public sealed class NewGitRepoCommand : PSCmdlet { private const string Noun = "GitRepo"; diff --git a/src/PowershellModule/Git/SetGitRepoCommand.cs b/src/PowershellModule/Git/Commands/SetGitRepoCommand.cs similarity index 91% rename from src/PowershellModule/Git/SetGitRepoCommand.cs rename to src/PowershellModule/Git/Commands/SetGitRepoCommand.cs index 9d6a7f1..4ccb140 100644 --- a/src/PowershellModule/Git/SetGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/SetGitRepoCommand.cs @@ -2,7 +2,7 @@ using System.Management.Automation; using ModuleCore.Git; -namespace PowershellModule.Git; +namespace PowershellModule.Git.Commands; [Cmdlet(VerbsCommon.Set, Noun)] public class SetGitRepoCommand : PSCmdlet