Expand description
Command handling and CLI interface
This module provides the command-line interface and command handling functionality for the Peillute application, including both local and network command processing.
Enumsยง
- Command
- Available commands in the system
- Critical
Commands - Critical commands that can be executed on our site
Functionsยง
- control_
worker - Worker that handles critical commands
- enqueue_
critical - Enqueue a critical command
- execute_
critical - Execute a critical command on our site
- parse_
command - Parse a line of input from the CLI and converts it to a Command
- process_
cli_ command - Execute a command from the CLI Update the clock of the site Interact with the database Implement our wave diffusion protocol
- process_
network_ command - Process commands received from the network Update the clock of the site Interact with the database
- prompt ๐
- Prompts the user for input with a label
- prompt_
parse ๐ - Prompts the user for input and parses it to a specific type