閱讀374 返回首頁    go 汽車大全


Clojure-Control 0.3.0 is out

  Clojure-control is a clojure DSL for system admin and deployment with many remote machines via ssh. 
    
    I am pleased to annoucment that clojure-control 0.3.0 is out.It adds some  powerful features in this release ,includes:
  • ssh and scp both have a new option :sudo  to be executed as root on remote machines,for example:
    
    
  • scp has a new  option :mode to change file modes copied from local: 
    
    
  • A  new function "exists?" to test if a file exists on remote machines:  
    
    
  • 
    
  • A new function "append" to append a line to a file on remote machines:
    
    
  • A new function "sed" to replace lines in a file on remote machines,and comm/uncomm to comment/uncomment a line in a file:
    
    

    
    
   You can install the new version by :
    lein plugin install control 0.3.0           #For clojure 1.3
    lein plugin install control 0.3.1           #For clojure 1.2

    More information please visit it on github: https://github.com/killme2008/clojure-control 文章轉自莊周夢蝶  ,原文發布時間 2012-02-18

最後更新:2017-05-18 20:36:14

  上一篇:go  Ambari 架構(一)Ambari 介紹
  下一篇:go  Clojure世界:XML處理