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;
[Cmdlet(VerbsCommon.Get, GitCommands.GitRepoNoun)]
[Cmdlet(VerbsCommon.Get, GitCommands.GitRepoRegistrationNoun)]
[OutputType(typeof(GitRegistration))]
public class GetGitRepoCommand : PSCmdlet
public class GetGitRepoRegistrationCommand : PSCmdlet
{
protected override void BeginProcessing()
{

View file

@ -2,5 +2,5 @@
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;
[Cmdlet(VerbsCommon.New, GitCommands.GitRepoNoun)]
public sealed class NewGitRepoCommand : PSCmdlet
[Cmdlet(VerbsCommon.New, GitCommands.GitRepoRegistrationNoun)]
public sealed class NewGitRepoRegistrationCommand : PSCmdlet
{
[Parameter(
Position = 0,

View file

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

View file

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