The hdo package

[Tags:library, mit, program]

HDO is a client to Digital Ocean API. It can either be used as a library embedded in other tools or as a command-line client (docean).


[Skip to Readme]

Properties

Versions 0.1, 0.2
Dependencies aeson, base (==4.*), bytestring, comonad, data-default, free, hdo, iproute, lens, mtl, network-uri, optparse-applicative, pretty, process, random, tagged, text, time, transformers, unix, unordered-containers, vector, wreq [details]
License MIT
Author Arnaud Bailly
Maintainer Arnaud Bailly <arnaud.oqube@gmail.com>
Stability Unknown
Category Cloud
Uploaded Mon Oct 24 09:57:51 UTC 2016 by abailly
Distributions NixOS:0.2
Downloads 74 total (5 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hdo

Readme for hdo-0.2

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