diff --git a/src/PowershellModule/Git/Commands/GetGitRepoCommand.cs b/src/PowershellModule/Git/Commands/GetGitRepoCommand.cs index 1859375..a719fc5 100644 --- a/src/PowershellModule/Git/Commands/GetGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/GetGitRepoCommand.cs @@ -1,10 +1,12 @@ using System.Management.Automation; using ModuleCore.Git; +using ModuleCore.Git.Models; namespace PowershellModule.Git.Commands; [Cmdlet(VerbsCommon.Get, GitCommands.GitRepoNoun)] -public class ListGitRepoCommand : PSCmdlet +[OutputType(typeof(GitRegistration))] +public class GetGitRepoCommand : PSCmdlet { protected override void BeginProcessing() { diff --git a/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs b/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs index bccd95f..15678f9 100644 --- a/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs @@ -1,6 +1,4 @@ using System; -using System.Diagnostics; -using System.IO; using System.Management.Automation; using ModuleCore.Git; diff --git a/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs b/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs index 3394ef3..8a805e1 100644 --- a/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs @@ -1,5 +1,4 @@ -using System; -using System.Management.Automation; +using System.Management.Automation; using ModuleCore.Git; namespace PowershellModule.Git.Commands; diff --git a/src/PowershellModule/Git/GitProvider.cs b/src/PowershellModule/Git/GitProvider.cs index e340c2b..7d643ee 100644 --- a/src/PowershellModule/Git/GitProvider.cs +++ b/src/PowershellModule/Git/GitProvider.cs @@ -10,10 +10,6 @@ public class GitProvider : NavigationCmdletProvider { public const string Name = "GitRepo"; - public GitProvider() - { - } - protected override PSDriveInfo NewDrive(PSDriveInfo drive) { // This is a bit of a hack to ensure that no drive is registered with a root location. @@ -81,6 +77,6 @@ public class GitProvider : NavigationCmdletProvider protected override bool IsValidPath(string path) { - throw new System.NotImplementedException(); + throw new NotImplementedException(); } } \ No newline at end of file diff --git a/src/PowershellModule/Git/GitPsDriveInfo.cs b/src/PowershellModule/Git/GitPsDriveInfo.cs index 2566267..7b0d691 100644 --- a/src/PowershellModule/Git/GitPsDriveInfo.cs +++ b/src/PowershellModule/Git/GitPsDriveInfo.cs @@ -7,6 +7,5 @@ public class GitPsDriveInfo : PSDriveInfo protected GitPsDriveInfo(PSDriveInfo driveInfo) : base(driveInfo) { - } } \ No newline at end of file diff --git a/src/PowershellModule/manifest.json b/src/PowershellModule/manifest.json deleted file mode 100644 index 3039b76..0000000 --- a/src/PowershellModule/manifest.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "_TODO":[ - "add manifest details here maybe idk" - ] -} \ No newline at end of file diff --git a/src/PowershellModule/meta/PowershellModule.psd1 b/src/PowershellModule/meta/PowershellModule.psd1 deleted file mode 100644 index e69de29..0000000 diff --git a/src/PowershellModule/meta/PowershellModule.psm1 b/src/PowershellModule/meta/PowershellModule.psm1 deleted file mode 100644 index e69de29..0000000