summaryrefslogtreecommitdiff
path: root/ssh-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-config.yaml')
-rw-r--r--ssh-config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssh-config.yaml b/ssh-config.yaml
index 376fe44..9863c86 100644
--- a/ssh-config.yaml
+++ b/ssh-config.yaml
@@ -1,5 +1,11 @@
- when: I run ssh (?P<host>\S+) (?P<cmd>.+)
function: run_ssh
+- when: I run git clone (?P<repo>\S+)
+ function: run_git_clone
+
- then: the output matches /(?P<regex>.+)/
function: stdout_matches
+
+- then: the directory (?P<dirname>\S+) exists
+ function: dir_exists