'Return the command line which represents the command object.'

def build(self):

    argument_str = ('' if (self.arg is None) else self.arg)
    flags_str = ''
    for key in sorted(self.flags):
        flags_str += ('    -%(flag)s    "%(value)s"' % {'flag': key, 'value': self.flags[key]})
    for booleanFlag in sorted(self.booleanFlags):
        flags_str += ('    -%s' % booleanFlag)
    return ('%(cmd)s    %(arg)s%(flag)s' % {'cmd': self.cmd, 'arg': argument_str, 'flag': flags_str})
