项目作者: sdorra

项目描述 :
A library for embeddable declarative tasks
高级语言: Go
项目地址: git://github.com/sdorra/welfare.git
创建时间: 2018-01-13T15:37:50Z
项目社区:https://github.com/sdorra/welfare

开源协议:MIT License

下载


Welfare

Packagist
Build Status

Welfare is a library for the execution of declarative tasks.
It is very much inspired by Ansible, but Welfare is designed to be used as embedded component in other applications.

Usage

  1. copy := files.NewCopyModule("files/issue", "/etc/issue")
  2. copy.FileMode = 0644
  3. changed, _ := copy.Run()
  4. if changed {
  5. fmt.Println("updated /etc/issue")
  6. }