packages feed

imm-2.1.0.0: data/callbacks.dhall

-- This file must produce a `List Callback` expression,
-- where `Callback` is defined as follows:
let Callback : Type =
  { _executable : Text
  , _arguments : List Text
  }

-- Below are 3 basic callbacks bundled with imm.
-- Check out `imm-monolith --help`
let downloadPage =
  { _executable = "imm-monolith"
  , _arguments = [ "-d", "/path/to/folder" ]
  }

-- Check out `imm-writefile --help`
let writeFile =
  { _executable = "imm-writefile"
  , _arguments = [ "-d", "/path/to/folder" ]
  }

-- Check out `imm-sendmail --help`
let sendMail =
  { _executable = "imm-sendmail"
  , _arguments = ["--login", "-u", "user@domain.com", "-P", "password", "-s", "smtp.domain.com", "-p", "587", "--to", "foo.bar@domain.com"]
  }

let config : List Callback = [ downloadPage ]
in config