summaryrefslogtreecommitdiff
path: root/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.go')
-rw-r--r--helpers.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/helpers.go b/helpers.go
index 180452c..01ac4b6 100644
--- a/helpers.go
+++ b/helpers.go
@@ -46,6 +46,10 @@ func (c *Cluster) FormatTEXT() string {
return prototext.Format(c)
}
+func (d *Droplets) FormatTEXT() string {
+ return prototext.Format(d)
+}
+
func (c *Cluster) FindDroplet(name string) *Droplet {
for _, d := range c.Droplets {
if d.Hostname == name {