summaryrefslogtreecommitdiff
path: root/bin/rtt-help
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-25 12:18:00 +0200
committerTor Andersson <tor@ccxvii.net>2025-04-25 17:56:43 +0200
commitfc3501382c2aa3ef5b692f4f55c2616f9cade3f5 (patch)
treea047bb94f8f1854c621fa0fba5ed62c8e0d0be14 /bin/rtt-help
parented2361980b455d1825d811670f329cbcf5624927 (diff)
downloadserver-fc3501382c2aa3ef5b692f4f55c2616f9cade3f5.tar.gz
Move toolbox scripts to a "bin" directory.
Add a super "rtt" command to run the scripts.
Diffstat (limited to 'bin/rtt-help')
-rwxr-xr-xbin/rtt-help34
1 files changed, 34 insertions, 0 deletions
diff --git a/bin/rtt-help b/bin/rtt-help
new file mode 100755
index 0000000..5f6815c
--- /dev/null
+++ b/bin/rtt-help
@@ -0,0 +1,34 @@
+#!/bin/bash
+cat <<EOF
+usage: rtt <subcommand> [ arguments... ]
+
+database management
+ init -- create database
+ run -- run server
+ backup -- backup database
+
+game management
+ export -- export game
+ import -- import game
+ patch -- patch game state (using replay)
+ undo -- rewind game state (using replay)
+
+module development
+ foreach -- run a command for each module
+ fuzz -- fuzz test a module
+
+game debugging
+ show-chat -- show game chat (for moderation)
+ show-game -- show game state object
+ show-replay -- show game replay log
+
+miscellaneous tools
+ update-covers -- generate cover thumbnails
+ update-elo -- recalculate Elo ratings
+
+archive database
+ archive-backup -- backup replay data into archive
+ archive-prune -- prune replay data from live database
+ archive-restore -- restore replay data from archive
+
+EOF