diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -12,9 +12,7 @@ import ( var argv args type args struct { - ListRepos bool `arg:"--list-repos" help:"list all repositories"` Port int `arg:"--port" default:"2520" help:"port to run on"` - Start string `arg:"--start" help:"start a droplet"` } func (args) Version() string { @@ -24,3 +22,21 @@ func (args) Version() string { func init() { arg.MustParse(&argv) } + +func (a args) Description() string { + return ` + this daemon talks to virtigo talks to libvirt and/or qemu + +This sends data back to virtigo. It helps read out the libvirtxml +and convert it to protobuf. +The name is odd, it's virtigo-D not virti-god. + +You can query the status directly: + + # the list of running vms: + curl --silent http://localhost:2520/vms + + # information about vm foo.bar.com: + curl --silent http://localhost:2520/dumpdroplet?foo.bar.com +` +} |
