Lines Matching refs:arguments
222 def _validate_arguments(arguments): argument
237 if (not arguments.hostnames and
238 (arguments.board or arguments.build)):
242 if arguments.board is not None:
243 if not _validate_board(arguments.board):
245 if (arguments.build is not None and
246 not _validate_build(arguments.board, arguments.build)):
350 def _read_arguments(input, arguments): argument
366 arguments.board = _read_board(input, arguments.board)
367 arguments.build = _read_build(input, arguments.board)
369 arguments.board, arguments.build)
371 arguments.hostnames = _read_hostnames(input)
428 arguments = _parse(argv)
429 arguments.full_deploy = full_deploy
430 if arguments.board is None:
431 _read_arguments(sys.stdin, arguments)
432 elif not _validate_arguments(arguments):
434 if not arguments.dir:
437 arguments.board)
438 arguments.dir = os.path.join(os.environ['HOME'],
440 os.makedirs(arguments.dir)
441 elif not os.path.isdir(arguments.dir):
442 os.mkdir(arguments.dir)
443 return arguments