aboutsummaryrefslogtreecommitdiff
path: root/src/config/Whirl.default.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-10 16:11:52 -0700
committerFuwn <[email protected]>2021-05-10 16:11:52 -0700
commit6922c6823ca9e29bf2a69e334bfd2c8a15740dc8 (patch)
tree3cc6959f9d0d45b4bee76dc067046cbb89c9ae69 /src/config/Whirl.default.toml
parentperf(api): use actix_web instead of rocket for api (diff)
downloadwhirl-6922c6823ca9e29bf2a69e334bfd2c8a15740dc8.tar.xz
whirl-6922c6823ca9e29bf2a69e334bfd2c8a15740dc8.zip
feat(prompt): toggle prompt via configuration file
Adds the ability to enable or disable the Whirl Shell from a `Whirl.toml` file. BREAKING CHANGE: `whirsplash.prompt.enable` configuration key created. closes #19
Diffstat (limited to 'src/config/Whirl.default.toml')
-rw-r--r--src/config/Whirl.default.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/Whirl.default.toml b/src/config/Whirl.default.toml
index ed6a874..330a88b 100644
--- a/src/config/Whirl.default.toml
+++ b/src/config/Whirl.default.toml
@@ -5,6 +5,9 @@ ip = "0.0.0.0" # DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
prompt_ps1 = "[WORLDSMASTER@Whirlsplash ~]$"
api.port = 8080
+[whirlsplash.prompt]
+enable = false
+
[distributor]
worldsmaster_greeting = "Welcome to Whirlsplash!"
port = 6650 # DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING