input-output-hk / cicero

event-driven automation for Nomad
https://handbook.cicero.ci.iog.io
41 stars 11 forks source link

Initial Servant API #41

Closed shlevy closed 2 years ago

shlevy commented 2 years ago

This PR adds:

  1. A cicero-api Haskell package containing Servant bindings for the Cicero API
  2. A cicero-cli program (exposed through nix build .#cicero-cli and nix run .#cicero-cli) to interact with the Cicero API

Both currently include the following endpoints:

More endpoints can easily be added.