Compare commits
8 changed files with 16 additions and 5 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Management.Automation;
|
||||
using ModuleCore.Git;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using System.Management.Automation;
|
||||
using System;
|
||||
using System.Management.Automation;
|
||||
using ModuleCore.Git;
|
||||
|
||||
namespace PowershellModule.Git.Commands;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
@ -7,5 +7,6 @@ public class GitPsDriveInfo : PSDriveInfo
|
|||
protected GitPsDriveInfo(PSDriveInfo driveInfo)
|
||||
: base(driveInfo)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
5
src/PowershellModule/manifest.json
Normal file
5
src/PowershellModule/manifest.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"_TODO":[
|
||||
"add manifest details here maybe idk"
|
||||
]
|
||||
}
|
||||
0
src/PowershellModule/meta/PowershellModule.psd1
Normal file
0
src/PowershellModule/meta/PowershellModule.psd1
Normal file
0
src/PowershellModule/meta/PowershellModule.psm1
Normal file
0
src/PowershellModule/meta/PowershellModule.psm1
Normal file
Loading…
Reference in a new issue