2024-01-01 15:33:08 -06:00
|
|
|
package digitalocean
|
|
|
|
|
|
|
|
// initializes logging and command line options
|
|
|
|
|
|
|
|
import (
|
2024-01-24 22:55:34 -06:00
|
|
|
"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)
|
|
|
|
}
|