You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/expect/files/test_command.py

11 lines
174 B
Python

import sys
from ansible.module_utils.six.moves import input
prompts = sys.argv[1:] or ['foo']
for prompt in prompts:
user_input = input(prompt)
print(user_input)