refactor(git-provider): Rename noun to GitRepoRegistration
This commit is contained in:
parent
5f04ed4262
commit
5528a756f9
5 changed files with 9 additions and 9 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
public class GitCommands
|
||||
{
|
||||
public const string GitRepoNoun = "GitRepo";
|
||||
public const string GitRepoRegistrationNoun = "GitRepoRegistration";
|
||||
}
|
||||
|
|
@ -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,
|
||||
|
|
@ -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,
|
||||
|
|
@ -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,
|
||||
Loading…
Reference in a new issue