def list_commands(self, *args):
    print(' ----------------------------')
    print('| List of available commands |')
    print(' ----------------------------')
    print('{: <16}{: <30}{}'.format('COMMAND', 'PARAMETERS', 'DETAILS'))
    print('{: <16}{: <30}{}'.format('-------', '----------', '-------'))
    for command in self.available_cmds:
        print('{: <16}{: <30}{}'.format(command.cmd_str, ' '.join(command.params), command.help))
        for alias in command.aliases:
            print('{: <16}{: <30}{}'.format(alias, '//', '//'))
def list_commands(self, *args):
    print(' ----------------------------')
    print('| List of available commands |')
    print(' ----------------------------')
    print('{: <16}{: <30}{}'.format('COMMAND', 'PARAMETERS', 'DETAILS'))
    print('{: <16}{: <30}{}'.format('-------', '----------', '-------'))
    for command in self.available_cmds:
        print('{: <16}{: <30}{}'.format(command.cmd_str, ' '.join(command.params), command.help))
        for alias in command.aliases:
            print('{: <16}{: <30}{}'.format(alias, '//', '//'))