#742 Create test that plugin.yml corresponds to command definitions

- Create test
- Fix definitions to correspond
This commit is contained in:
ljacqu
2016-06-02 15:49:21 +02:00
parent e75cff5fb8
commit 9b5009eb8c
3 changed files with 104 additions and 4 deletions
@@ -291,7 +291,7 @@ public class CommandInitializer {
// Register the base login command
final CommandDescription LOGIN_BASE = CommandDescription.builder()
.parent(null)
.labels("login", "l")
.labels("login", "l", "log")
.description("Login command")
.detailedDescription("Command to log in using AuthMeReloaded.")
.withArgument("password", "Login password", false)
@@ -324,7 +324,7 @@ public class CommandInitializer {
// Register the base unregister command
CommandDescription UNREGISTER_BASE = CommandDescription.builder()
.parent(null)
.labels("unreg", "unregister")
.labels("unregister", "unreg")
.description("Unregistration Command")
.detailedDescription("Command to unregister using AuthMeReloaded.")
.withArgument("password", "Password", false)
@@ -347,7 +347,7 @@ public class CommandInitializer {
// Register the base Email command
CommandDescription EMAIL_BASE = CommandDescription.builder()
.parent(null)
.labels("email", "mail")
.labels("email")
.description("Email command")
.detailedDescription("The AuthMeReloaded Email command base.")
.executableCommand(initializer.newInstance(EmailBaseCommand.class))
@@ -392,7 +392,7 @@ public class CommandInitializer {
// Register the base captcha command
CommandDescription CAPTCHA_BASE = CommandDescription.builder()
.parent(null)
.labels("captcha", "capt")
.labels("captcha")
.description("Captcha Command")
.detailedDescription("Captcha command for AuthMeReloaded.")
.withArgument("captcha", "The Captcha", false)