digitalocean/args.go

19 lines
367 B
Go

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)
}