refactor(git-provider): Rename noun to GitRepoRegistration

This commit is contained in:
Scott 2026-08-25 17:16:06 +10:00
commit 5528a756f9
5 changed files with 9 additions and 9 deletions

View file

@ -4,9 +4,9 @@ using ModuleCore.Git.Models;
namespace PowershellModule.Git.Commands; namespace PowershellModule.Git.Commands;
[Cmdlet(VerbsCommon.Get, GitCommands.GitRepoNoun)] [Cmdlet(VerbsCommon.Get, GitCommands.GitRepoRegistrationNoun)]
[OutputType(typeof(GitRegistration))] [OutputType(typeof(GitRegistration))]
public class GetGitRepoCommand : PSCmdlet public class GetGitRepoRegistrationCommand : PSCmdlet
{ {
protected override void BeginProcessing() protected override void BeginProcessing()
{ {

View file

@ -2,5 +2,5 @@
public class GitCommands public class GitCommands
{ {
public const string GitRepoNoun = "GitRepo"; public const string GitRepoRegistrationNoun = "GitRepoRegistration";
} }

View file

@ -4,8 +4,8 @@ using ModuleCore.Git;
namespace PowershellModule.Git.Commands; namespace PowershellModule.Git.Commands;
[Cmdlet(VerbsCommon.New, GitCommands.GitRepoNoun)] [Cmdlet(VerbsCommon.New, GitCommands.GitRepoRegistrationNoun)]
public sealed class NewGitRepoCommand : PSCmdlet public sealed class NewGitRepoRegistrationCommand : PSCmdlet
{ {
[Parameter( [Parameter(
Position = 0, Position = 0,

View file

@ -4,8 +4,8 @@ using ModuleCore.Git;
namespace PowershellModule.Git.Commands; namespace PowershellModule.Git.Commands;
[Cmdlet(VerbsCommon.Remove, GitCommands.GitRepoNoun)] [Cmdlet(VerbsCommon.Remove, GitCommands.GitRepoRegistrationNoun)]
public class RemoveGitRepoCommand : PSCmdlet public class RemoveGitRepoRegistrationCommand : PSCmdlet
{ {
[Parameter( [Parameter(
Position = 0, Position = 0,

View file

@ -3,8 +3,8 @@ using ModuleCore.Git;
namespace PowershellModule.Git.Commands; namespace PowershellModule.Git.Commands;
[Cmdlet(VerbsCommon.Show, GitCommands.GitRepoNoun)] [Cmdlet(VerbsCommon.Show, GitCommands.GitRepoRegistrationNoun)]
public class ShowGitRepoCommand : PSCmdlet public class ShowGitRepoRegistrationCommand : PSCmdlet
{ {
[Parameter( [Parameter(
Position = 0, Position = 0,