other
dev_tool.commands.other
log = logging.getLogger(__name__)
module-attribute
OtherCommandGroup
Bases: CommandGroup
A command group for ungrouped operations.
This class provides commands for ungrouped operations such as directory access, version information, updates, and application exit.
The constructor for the SystemCommandGroup class.
This method initializes the command group with required services and registers all command methods.
Parameters:
-
updater(UpdateService) –The update service for checking and applying updates.
Source code in dev_tool/commands/other.py
updater = updater
instance-attribute
__str__
The string representation of the command group.
This method returns the category name for the command group.
Returns:
-
str–The category name as a string.
check_version
A command that checks the current version.
This method retrieves and logs the current version of the application.
Source code in dev_tool/commands/other.py
check_update
A command that checks for updates.
This method checks for updates and notifies the user if an update is available.
Source code in dev_tool/commands/other.py
exit
A command that exits the application.
This method terminates the application with an exit code of 0.
open_directory
A command that opens a submenu for directory access.
This method returns a menu for opening various directories.
Returns:
-
Menu–A submenu for directory options.
Source code in dev_tool/commands/other.py
open_documentation
A command that opens a submenu for documentation access.
This method returns a menu for opening various documentation websites.
Returns:
-
Menu–A submenu for documentation options.
Source code in dev_tool/commands/other.py
raise_test_error
A command that raises a test error for debugging stack trace interfaces.