diff options
| author | Fuwn <[email protected]> | 2021-05-10 16:11:52 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-10 16:11:52 -0700 |
| commit | 6922c6823ca9e29bf2a69e334bfd2c8a15740dc8 (patch) | |
| tree | 3cc6959f9d0d45b4bee76dc067046cbb89c9ae69 /src/config/Whirl.default.toml | |
| parent | perf(api): use actix_web instead of rocket for api (diff) | |
| download | whirl-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.toml | 3 |
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 |