def METHOD_NAME(self, command):
    """Format the command to be printed on console
    :param command: Command to run
    :type command: `str`
    :return: Formatted command string
    :rtype: `str`
    """
    if (
        "RHOST" in self.options and "RPORT" in self.options
    ):  # Interactive shell on remote connection
        return "{!s}:{!s}-{!s}".format(
            self.options["RHOST"], self.options["RPORT"], command
        )
    else:
        return "Interactive - {!s}".format(command)