- when: I run ssh (?P\S+) (?P.+) function: run_ssh - when: I run git clone (?P\S+) function: run_git_clone - then: the output matches /(?P.+)/ function: stdout_matches - then: the directory (?P\S+) exists function: dir_exists