saucisson

module
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: MIT

README

Saucisson

Go Report Card

Saucisson is a declarative task runner that defines pairs of conditions and executions to be run in case of those conditions occurring.

services:
  - name: "open top"
    condition:
      type: "process"
      config:
        executable: "top"
        state: "open"
    execute:
      type: "shell"
      config:
        command: "echo top opened"
  - name: "close top"
    condition:
      type: "process"
      config:
        executable: "top"
        state: "close"
    execute:
      type: "shell"
      config:
        shell: "bash"
        command: "echo top closed"

Installation

Git:

git clone https://github.com/mickyco94/saucisson.git
cd saucisson
go build -o ~/go/bin/saucisson cmd/main.go

The above installation methods assumes that ~/go/bin/ is added to your $PATH.

Run

Saucisson is run using the following:

Run with specified config:

saucisson -c examples/template.yml run

Run with default config (~/.saucisson.yml)

saucisson run

See Roadmap for future features/improvements.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL