check_deprecated_commands#

qx_utilities.general.commands_support.check_deprecated_commands(command)#

check_deprecated_commands command

Check for deprecated commands, print a warning if needed and return the updated command name.

Parameters

--command (str): The command to check for deprecation.

Returns

--new_command (str): The updated command name if it was deprecated, otherwise the original command name.