summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-23 04:25:24 -0500
committerJeff Carr <[email protected]>2024-10-23 04:25:24 -0500
commit35a2a379405704a7e9f668c85da1bd27c7dfd3c4 (patch)
treeb10e389f57d44bcc8e07c302d92aa3b0a3580014 /argv.go
parent09b635219ac8d9b6d7a8a44eab44516cc1ebc9ee (diff)
work on adding droplets from libvirt xml files
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/argv.go b/argv.go
index 52b2c49..e244a96 100644
--- a/argv.go
+++ b/argv.go
@@ -11,12 +11,13 @@ import "go.wit.com/log"
var argv args
type args struct {
- Dir string `arg:"--dir" help:"defaults to ~/.config/virtigo/"`
- Port int `arg:"--port" default:"8080" help:"specify a different default port"`
- Hosts []string `arg:"--hosts" help:"hosts to connect to"`
- Uptime bool `arg:"--uptime" default:"true" help:"allow uptime checks for things like Kuma"`
- Daemon bool `arg:"--daemon" help:"run in daemon mode"`
- Xml []string `arg:"--add-xml" help:"add libvirt xml files"`
+ Dir string `arg:"--dir" help:"defaults to ~/.config/virtigo/"`
+ Port int `arg:"--port" default:"8080" help:"specify a different default port"`
+ Hosts []string `arg:"--hosts" help:"hosts to connect to"`
+ Uptime bool `arg:"--uptime" default:"true" help:"allow uptime checks for things like Kuma"`
+ Daemon bool `arg:"--daemon" help:"run in daemon mode"`
+ Xml []string `arg:"--add-xml" help:"add libvirt xml files"`
+ Save bool `arg:"--save" default:"false" help:"save xml changes to the protobuf values"`
}
func (a args) Description() string {