Compare commits

..
8 changed files with 5 additions and 16 deletions

View file

@ -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()
{

View file

@ -1,6 +1,4 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Management.Automation;
using ModuleCore.Git;

View file

@ -1,5 +1,4 @@
using System;
using System.Management.Automation;
using System.Management.Automation;
using ModuleCore.Git;
namespace PowershellModule.Git.Commands;

View file

@ -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();
}
}

View file

@ -7,6 +7,5 @@ public class GitPsDriveInfo : PSDriveInfo
protected GitPsDriveInfo(PSDriveInfo driveInfo)
: base(driveInfo)
{
}
}

View file

@ -1,5 +0,0 @@
{
"_TODO":[
"add manifest details here maybe idk"
]
}