hdo: A Digital Ocean client in Haskell

[ cloud, library, mit, program ] [ Propose Tags ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.3, 0.4, 0.5
Dependencies aeson, base (>=4 && <5), 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>
Category Cloud
Uploaded by abailly at 2016-10-24T09:57:51Z
Distributions
Executables docean
Downloads 3729 total (16 in the last 30 days)
Rating 1.75 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hdo-0.2

[back to package description]

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