summaryrefslogtreecommitdiff
path: root/args.go
blob: fcf01d37af92ad3ede978bd7976f4fc6836e2e5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package digitalocean

// initializes logging and command line options

import (
	"go.wit.com/dev/alexflint/arg"
)

var argDo ArgsDo

// This struct can be used with the go-arg package
type ArgsDo struct {
	DigitalOceanTimer int `arg:"--digitalocean-poll-interval" help:"how often to poll droplet status (default 60 seconds)"`
}

func init() {
	arg.Register(&argDo)
}