Expand description
Main entry point for the server cli Commands This is where commands are defined properly, and where command functions are called.
Modulesยง
- config
- Configuration command handling (REFACTORED).
- help
- Main cli file used for getting help with server commands
- server
- test
- user
Macrosยง
- config_
match_ ๐arms
Structsยง
- Command ๐
Constantsยง
- SESSION_
TIMEOUT_ ๐MINS
Functionsยง
- dispatch ๐
- Dispatches the parsed command to the appropriate handler function.
- parse ๐
- Parses a command string into a Command struct.
- require_
admin - Checks if a command required admin privileges.
- spawn_
cli - Spawns the CLI in a separate blocking thread.
- unknown ๐
- Prints an error message for unknown commands.