Most of the code in command modules is duplicated across several modules. Common procedures should be split off into utility functions to make command code shorter and more readable.
These common functions will be kept in commands/_util.py. Python files starting with an underscore in the commands folder will be importable by command modules, but will not themselves be loaded in as command modules.
Most of the code in command modules is duplicated across several modules. Common procedures should be split off into utility functions to make command code shorter and more readable.
These common functions will be kept in
commands/_util.py
. Python files starting with an underscore in the commands folder will be importable by command modules, but will not themselves be loaded in as command modules.