summaryrefslogtreecommitdiff
path: root/NewUser.cs
diff options
context:
space:
mode:
Diffstat (limited to 'NewUser.cs')
-rw-r--r--NewUser.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/NewUser.cs b/NewUser.cs
index 7b9ab07..323fdef 100644
--- a/NewUser.cs
+++ b/NewUser.cs
@@ -1,15 +1,11 @@
-using HyperBooru.ApiClient;
-using System.Management.Automation;
+using System.Management.Automation;
using System.Security;
namespace HyperBooru.PowerShell;
[Alias("nhbu")]
[Cmdlet(VerbsCommon.New, "HyperBooruUser")]
-public class NewUserCmdlet : PSCmdlet {
- [Parameter(Position = 0, Mandatory = true)]
- public HBSession Session { get; set; }
-
+public class NewUserCmdlet : SessionCmdlet {
[Parameter(Position = 1, Mandatory = true)]
public string Username { get; set; }