forked from SteamWar/SteamWar
Add world-based permissions and migration commands
- Switch bau logic from owner-scoped to world-scoped data - Add CLI commands for world migration, templating, and archiving - Extend world storage with team worlds and lock state support
This commit is contained in:
+11
-1
@@ -11,13 +11,23 @@ import de.steamwar.commands.profiler.ProfilerCommand
|
||||
import de.steamwar.commands.user.UserCommand
|
||||
import de.steamwar.commands.user.UserInfoCommand
|
||||
import de.steamwar.commands.user.UserSearchCommand
|
||||
import de.steamwar.commands.world.MigrationCommand
|
||||
import de.steamwar.commands.world.SaveToStorageCommand
|
||||
import de.steamwar.commands.world.TemplateCommand
|
||||
import de.steamwar.commands.world.TemplateCreateCommand
|
||||
import de.steamwar.commands.world.WorldCommand
|
||||
|
||||
fun main(args: Array<String>) =
|
||||
SteamWar()
|
||||
.subcommands(
|
||||
DatabaseCommand().subcommands(InfoCommand(), ResetCommand()),
|
||||
UserCommand().subcommands(UserInfoCommand(), UserSearchCommand()),
|
||||
WorldCommand().subcommands(
|
||||
MigrationCommand(),
|
||||
SaveToStorageCommand(),
|
||||
TemplateCommand().subcommands(TemplateCreateCommand())
|
||||
),
|
||||
DevCommand(),
|
||||
ProfilerCommand()
|
||||
)
|
||||
.main(args)
|
||||
.main(args)
|
||||
|
||||
Reference in New Issue
Block a user