3

Python 有 Fabric 库来执行这些操作,Clojure 有这样的选项吗?

4

1 回答 1

6

你应该看看stevedore,它在pallet.

脚本参考

(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")))
于 2013-10-21T19:02:21.143 回答