summaryrefslogtreecommitdiff
path: root/AddMediaTag.cs
diff options
context:
space:
mode:
Diffstat (limited to 'AddMediaTag.cs')
-rw-r--r--AddMediaTag.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/AddMediaTag.cs b/AddMediaTag.cs
index 35541e4..df2c39d 100644
--- a/AddMediaTag.cs
+++ b/AddMediaTag.cs
@@ -1,14 +1,10 @@
-using HyperBooru.ApiClient;
-using System.Management.Automation;
+using System.Management.Automation;
namespace HyperBooru.PowerShell;
[Alias("ahbmt")]
[Cmdlet(VerbsCommon.Add, "HyperBooruMediaTag")]
-public class AddMediaTagCmdlet : PSCmdlet {
- [Parameter(Position = 0, Mandatory = true)]
- public required HBSession Session { get; set; }
-
+public class AddMediaTagCmdlet : SessionCmdlet {
[Parameter(Position = 1, Mandatory = true)]
public Guid MediaId { get; set; }