Bru*_*uno 3 system-administration build clojure
Python有Fabric库来执行这样的操作,Clojure有这样的选择吗?
你应该看看装卸工,它被广泛使用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")))
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
452 次 |
| 最近记录: |