@hackage hdo0.2

A Digital Ocean client in Haskell

  • Categories

  • License

    MIT

  • Maintainer

    Arnaud Bailly <arnaud.oqube@gmail.com>

  • Versions

    • 0.5 Sat, 13 May 2017
    • 0.4 Mon, 10 Apr 2017
    • 0.3 Fri, 7 Apr 2017
    • 0.2 Mon, 24 Oct 2016
    • 0.1 Fri, 27 May 2016

HDO: A HAskell Digital Ocean Client

Build Status

WARNING This implementation still covers only a small subset of DO API

This is a Digital Ocean client written in Haskell. It can be used either as a library or as command-line utility.

Compile

stack setup stack build

Usage

First export the AUTH_TOKEN: export AUTH_TOKEN=2342342341234eaf

List existing droplets: stack exec docean -- droplets list

List existing regions: stack exec docean -- regions list

Implemented commands:

droplets create
droplets destroy <dropletId>
droplets list
droplets power_off <dropletId>
droplets power_on  <dropletId>
droplets snapshot  <dropletId> <snapshotName>
droplets action    <dropletId> <actionId>
droplets <dropletId> snapshots
droplets <dropletId>
droplets ssh <dropletId or Name>
images list
regions list
keys list
sizes list