summaryrefslogtreecommitdiff
path: root/NewTagDefinition.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-06-15 12:54:44 +1000
committerJake Mannens <jake@asger.xyz>2026-06-15 12:54:44 +1000
commitd36e27387eabf88845d364b9d3a2da54a583247f (patch)
tree716058aac0b72c1ec1bb0b7eb47d4e3a87926299 /NewTagDefinition.cs
parentab46387d4d02e30b171a7c2fa07947b41ec691a0 (diff)
Diffstat (limited to 'NewTagDefinition.cs')
-rw-r--r--NewTagDefinition.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/NewTagDefinition.cs b/NewTagDefinition.cs
index c1fd971..dade4ba 100644
--- a/NewTagDefinition.cs
+++ b/NewTagDefinition.cs
@@ -1,15 +1,11 @@
-using HyperBooru.ApiClient;
-using HyperBooru.ApiModels;
+using HyperBooru.ApiModels;
using System.Management.Automation;
namespace HyperBooru.PowerShell;
[Alias("nhbtd")]
[Cmdlet(VerbsCommon.New, "HyperBooruTagDefinition")]
-public class NewTagDefinitionCmdlet : PSCmdlet {
- [Parameter(Mandatory = true)]
- public required HBSession Session { get; set; }
-
+public class NewTagDefinitionCmdlet : SessionCmdlet {
[Parameter] public string? Namespace { get; set; }
[Parameter(Mandatory = true)] public required string Name { get; set; }
[Parameter] public string? Alias { get; set; }