diff options
| author | Jeff Carr <[email protected]> | 2025-03-10 04:36:35 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-10 04:36:35 -0500 |
| commit | f9515280cf8ee5dd71be3b8e749e6405c4e77ca6 (patch) | |
| tree | 6290b07ea07284ec0234146cb3a193a7dbd6c80c /argv.go | |
| parent | 30a5eb56a210c28feca0098fd9e6dc340f494b9f (diff) | |
make admin mode
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -11,9 +11,11 @@ import "go.wit.com/log" var argv args type args struct { - Xml []string `arg:"--libvirt" help:"import qemu xml files: --libvirt /etc/libvirt/qemu/*.xml"` - Config string `arg:"env:VIRTIGO_HOME" help:"defaults to ~/.config/virtigo/"` - Port int `arg:"--port" default:"8080" help:"allow droplet events via http"` + Verbose bool `arg:"--verbose" help:"talk more"` + Config string `arg:"env:VIRTIGO_HOME" help:"defaults to ~/.config/virtigo/"` + Port int `arg:"--port" default:"8080" help:"allow droplet events via http"` + Server string `arg:"env:VIRTIGO_SERVER" help:"what virtigo cluster to connect to"` + Xml []string `arg:"--libvirt" help:"import qemu xml files: --libvirt /etc/libvirt/qemu/*.xml"` } // Daemon bool `arg:"--daemon" help:"run in daemon mode"` |
