diff --git a/src/PowershellModule/Git/Commands/GetGitRepoCommand.cs b/src/PowershellModule/Git/Commands/GetGitRepoCommand.cs index a719fc5..1859375 100644 --- a/src/PowershellModule/Git/Commands/GetGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/GetGitRepoCommand.cs @@ -1,12 +1,10 @@ using System.Management.Automation; using ModuleCore.Git; -using ModuleCore.Git.Models; namespace PowershellModule.Git.Commands; [Cmdlet(VerbsCommon.Get, GitCommands.GitRepoNoun)] -[OutputType(typeof(GitRegistration))] -public class GetGitRepoCommand : PSCmdlet +public class ListGitRepoCommand : PSCmdlet { protected override void BeginProcessing() { diff --git a/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs b/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs index 15678f9..bccd95f 100644 --- a/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/NewGitRepoCommand.cs @@ -1,4 +1,6 @@ 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 8a805e1..3394ef3 100644 --- a/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs +++ b/src/PowershellModule/Git/Commands/ShowGitRepoCommand.cs @@ -1,4 +1,5 @@ -using System.Management.Automation; +using System; +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 7d643ee..e340c2b 100644 --- a/src/PowershellModule/Git/GitProvider.cs +++ b/src/PowershellModule/Git/GitProvider.cs @@ -10,6 +10,10 @@ 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. @@ -77,6 +81,6 @@ public class GitProvider : NavigationCmdletProvider protected override bool IsValidPath(string path) { - throw new NotImplementedException(); + throw new System.NotImplementedException(); } } \ No newline at end of file diff --git a/src/PowershellModule/Git/GitPsDriveInfo.cs b/src/PowershellModule/Git/GitPsDriveInfo.cs index 7b0d691..2566267 100644 --- a/src/PowershellModule/Git/GitPsDriveInfo.cs +++ b/src/PowershellModule/Git/GitPsDriveInfo.cs @@ -7,5 +7,6 @@ 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 new file mode 100644 index 0000000..3039b76 --- /dev/null +++ b/src/PowershellModule/manifest.json @@ -0,0 +1,5 @@ +{ + "_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 new file mode 100644 index 0000000..e69de29 diff --git a/src/PowershellModule/meta/PowershellModule.psm1 b/src/PowershellModule/meta/PowershellModule.psm1 new file mode 100644 index 0000000..e69de29