On 2019-04-29 21:24, Evan Hanson wrote:
> I've written a client library for the sr.ht REST APIs.

Just a small follow-up: this project now includes a CLI program for
interacting with the APIs. It only supports the build and paste services
at the moment, but I've found it convenient for triggering jobs from the
command line, for example:

    $ export SRHT_ACCESS_TOKEN="your-access-token-goes-here"
    $ topham create job -n "Example build" < build.yaml
    ((id . 1234))
    $ topham get job 1234
    ((id . 1234)
     (status . "running")
     (setup_log ...)
     (tasks . #(...))
     (runner ...))

> Find the project here:
> 
>   https://git.sr.ht/~evhan/topham
> 
> If you're unfamiliar with sr.ht (aka sourcehut), you can find out more
> about it here:
> 
>   https://sourcehut.org/

Happy hacking,

Evan

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to