diff --git a/ProjectLighthouse/CommandLine/ICommand.cs b/ProjectLighthouse/CommandLine/ICommand.cs index ea20f319..263dd02f 100644 --- a/ProjectLighthouse/CommandLine/ICommand.cs +++ b/ProjectLighthouse/CommandLine/ICommand.cs @@ -12,6 +12,8 @@ namespace LBPUnion.ProjectLighthouse.CommandLine public string FirstAlias => this.Aliases()[0]; + public string Arguments(); + public int RequiredArgs(); } } \ No newline at end of file diff --git a/ProjectLighthouse/CommandLine/MakeUserAdminCommand.cs b/ProjectLighthouse/CommandLine/MakeUserAdminCommand.cs index 42a43297..d96aaf99 100644 --- a/ProjectLighthouse/CommandLine/MakeUserAdminCommand.cs +++ b/ProjectLighthouse/CommandLine/MakeUserAdminCommand.cs @@ -16,6 +16,7 @@ namespace LBPUnion.ProjectLighthouse.CommandLine { "makeAdmin", }; + public string Arguments() => ""; public int RequiredArgs() => 1; public async Task Run(string[] args) diff --git a/ProjectLighthouse/CommandLine/ResetPasswordCommand.cs b/ProjectLighthouse/CommandLine/ResetPasswordCommand.cs index bfbb46c0..a867c8d2 100644 --- a/ProjectLighthouse/CommandLine/ResetPasswordCommand.cs +++ b/ProjectLighthouse/CommandLine/ResetPasswordCommand.cs @@ -16,6 +16,7 @@ namespace LBPUnion.ProjectLighthouse.CommandLine { "setPassword", "resetPassword", "passwd", "password", }; + public string Arguments() => " "; public int RequiredArgs() => 2; public async Task Run(string[] args) diff --git a/ProjectLighthouse/Pages/AdminPanelPage.cshtml b/ProjectLighthouse/Pages/AdminPanelPage.cshtml index 41d80740..ea725c83 100644 --- a/ProjectLighthouse/Pages/AdminPanelPage.cshtml +++ b/ProjectLighthouse/Pages/AdminPanelPage.cshtml @@ -16,10 +16,13 @@

@command.Name()

- +


- +