class DebugCommand implements ExecutableCommand {

    @Override
    public void executeCommand(CommandSender sender, List<String> arguments) {
        DebugSection debugSection = findDebugSection(arguments);
        if (debugSection == null) {
            sendAvailableSections(sender);
        } else {
            executeSection(debugSection, sender, arguments);
        }
    }

}