summaryrefslogtreecommitdiff
path: root/GetUser.cs
diff options
context:
space:
mode:
Diffstat (limited to 'GetUser.cs')
-rw-r--r--GetUser.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/GetUser.cs b/GetUser.cs
index 63c5af7..d190f2c 100644
--- a/GetUser.cs
+++ b/GetUser.cs
@@ -1,14 +1,10 @@
-using HyperBooru.ApiClient;
-using System.Management.Automation;
+using System.Management.Automation;
namespace HyperBooru.PowerShell;
[Alias("ghbu")]
[Cmdlet(VerbsCommon.Get, "HyperBooruUser")]
-public class GetUserCmdlet : PSCmdlet {
- [Parameter(Position = 0, Mandatory = true)]
- public HBSession Session { get; set; }
-
+public class GetUserCmdlet : SessionCmdlet {
[Parameter(Position = 1)]
public Guid? UserId { get; set; }