From 07cfbfdb92890188cc0bed120acb1fcbf72d34db Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Mon, 18 May 2026 17:01:02 +1000 Subject: Added default global fallback session context --- GetUser.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'GetUser.cs') 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; } -- cgit v1.3