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.
websites
A command that opens a submenu for websites.
This method returns a menu for accessing various websites.
Returns:
-
Menu–A submenu for website access.
Source code in dev_tool/commands/other.py
open_directories
A command that opens a submenu for opening directories.
This method returns a menu for opening various project directories.
Returns:
-
Menu–A submenu for directory access.
Source code in dev_tool/commands/other.py
version
A command that displays the current version information.
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.