feat: add muxplex config subcommand — list/get/set/reset settings via CLI
Exposes ~/.config/muxplex/settings.json management without hand-editing: config list — show all settings with (modified) markers config get <key> — print one value config set <key> <value> — set with auto type coercion (bool/int/str/list) config reset [key] — reset one or all to defaults Example: muxplex config set host 0.0.0.0 && muxplex service restart
This commit is contained in:
@@ -104,6 +104,11 @@ All serve options read from `~/.config/muxplex/settings.json` by default. CLI fl
|
||||
| `muxplex upgrade` | Upgrade to latest version and restart service |
|
||||
| `muxplex show-password` | Show the current muxplex password |
|
||||
| `muxplex reset-secret` | Regenerate signing secret (invalidates sessions) |
|
||||
| `muxplex config` | Show all settings with current values |
|
||||
| `muxplex config list` | Show all settings with current values |
|
||||
| `muxplex config get <key>` | Show one setting |
|
||||
| `muxplex config set <key> <value>` | Set a setting (auto-detects type) |
|
||||
| `muxplex config reset [key]` | Reset one or all settings to defaults |
|
||||
|
||||
### Service management
|
||||
|
||||
|
||||
Reference in New Issue
Block a user