Module control

Source
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
CriticalCommands
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