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 --- GetMediaTag.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'GetMediaTag.cs') diff --git a/GetMediaTag.cs b/GetMediaTag.cs index 90d9835..638a85c 100644 --- a/GetMediaTag.cs +++ b/GetMediaTag.cs @@ -1,14 +1,10 @@ -using HyperBooru.ApiClient; -using System.Management.Automation; +using System.Management.Automation; namespace HyperBooru.PowerShell; [Alias("ghbmt")] [Cmdlet(VerbsCommon.Get, "HyperBooruMediaTag")] -public class GetMediaTagCmdlet : PSCmdlet { - [Parameter(Position = 0, Mandatory = true)] - public required HBSession Session { get; set; } - +public class GetMediaTagCmdlet : SessionCmdlet { [Parameter(Position = 1, Mandatory = true)] public Guid MediaId { get; set; } -- cgit v1.3