aboutsummaryrefslogtreecommitdiff
path: root/src/combinator.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/combinator.lisp')
-rw-r--r--src/combinator.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/combinator.lisp b/src/combinator.lisp
index c6e89e7..23c8575 100644
--- a/src/combinator.lisp
+++ b/src/combinator.lisp
@@ -130,3 +130,8 @@ ON-CHANGE in order."
(dolist (propapp (reverse propapps))
(propappunapply propapp))))
:args (cdr propapp)))
+
+(defmacro as (user &body properties)
+ "Apply PROPERTIES as USER by reconnecting to the host with the :AS connection
+type."
+ `(deploys-these. `((:as :to ,,user)) :parent ,@properties))