<分区>
Python 有 Fabric 库来执行这些操作,Clojure 有这样的选项吗?
<分区>
Python 有 Fabric 库来执行这些操作,Clojure 有这样的选项吗?
最佳答案
你应该看看stevedore ,它在 pallet
中被广泛使用。
来自script reference :
(use '[pallet.stevedore :only [script with-script-language]])
(use '[pallet.script :only [with-script-context]])
(require 'pallet.stevedore.bash) ;; for bash output
(with-script-language :pallet.stevedore.bash/bash
(with-script-context [:ubuntu]
(script
("ls")))
关于build - 如何使用 Clojure 通过 SSH 运行系统管理和部署任务?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19502446/