digitalocean/args.go

19 lines
367 B
Go
Raw Permalink Normal View History

2024-01-01 15:33:08 -06:00
package digitalocean
// initializes logging and command line options
import (
"go.wit.com/dev/alexflint/arg"
2024-01-01 15:33:08 -06:00
)
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)
}