diff options
Diffstat (limited to 'RemoveUser.cs')
| -rw-r--r-- | RemoveUser.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/RemoveUser.cs b/RemoveUser.cs index 0e28675..2ec64ed 100644 --- a/RemoveUser.cs +++ b/RemoveUser.cs @@ -1,14 +1,10 @@ -using HyperBooru.ApiClient; -using System.Management.Automation; +using System.Management.Automation; namespace HyperBooru.PowerShell; [Alias("rhbu")] [Cmdlet(VerbsCommon.Remove, "HyperBooruUser")] -public class RemoveUserCmdlet : PSCmdlet { - [Parameter(Position = 0, Mandatory = true)] - public HBSession Session { get; set; } - +public class RemoveUserCmdlet : SessionCmdlet { [Parameter(Position = 1, Mandatory = true)] public Guid UserId { get; set; } |
