hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/internal/cli/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/commands.go')
-rw-r--r--internal/cli/commands.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/internal/cli/commands.go b/internal/cli/commands.go
index d76402d..437fff2 100644
--- a/internal/cli/commands.go
+++ b/internal/cli/commands.go
@@ -17,6 +17,26 @@ func defaultCommands() []command {
run: runMods,
},
{
+ name: "start",
+ desc: "Start the server in the background",
+ run: runStart,
+ },
+ {
+ name: "stop",
+ desc: "Stop the running server",
+ run: runStop,
+ },
+ {
+ name: "restart",
+ desc: "Restart the server",
+ run: runRestart,
+ },
+ {
+ name: "status",
+ desc: "Show whether the server is running, players, and version",
+ run: runStatus,
+ },
+ {
name: "check",
desc: "Check whether the configured mods are compatible",
run: runCheck,