parameters: (*args)
return_statement: return command_args
docstring: Create a CommandArgs object.
docstring_summary: Create a CommandArgs object.
docstring_tokens: Create a CommandArgs object .
function: def make_command(*args):
      # type: (Union[str, HiddenText, CommandArgs]) -> CommandArgs
      """
      Create a CommandArgs object.
      """
      command_args = []  # type: CommandArgs
      for arg in args:
          # Check for list instead of CommandArgs since CommandArgs is
          # only known during type-checking.
          if isinstance(arg, list):
              command_args.extend(arg)
          else:
              # Otherwise, arg is str or HiddenText.
              command_args.append(arg)
  
      return command_args
function_tokens: def make_command ( * args ) : # type: (Union[str, HiddenText, CommandArgs]) -> CommandArgs command_args = [ ] # type: CommandArgs for arg in args : # Check for list instead of CommandArgs since CommandArgs is # only known during type-checking. if isinstance ( arg , list ) : command_args . extend ( arg ) else : # Otherwise, arg is str or HiddenText. command_args . append ( arg ) return command_args