mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-27 10:31:31 +00:00
Set default mode to verbose
This commit is contained in:
parent
bc704df503
commit
7e4aa33a0a
|
@ -48,7 +48,7 @@ You need to **relogin** if you install virt-manager (libvirt) first time.
|
|||
|
||||
## Run application
|
||||
|
||||
$ appvm start chromium --verbose
|
||||
$ appvm start chromium
|
||||
$ # ... long wait for first time, because we need to collect a lot of packages
|
||||
|
||||
You can customize local settings in **~/.config/appvm/nix/local.nix**.
|
||||
|
|
4
appvm.go
4
appvm.go
|
@ -327,7 +327,7 @@ func main() {
|
|||
|
||||
startCommand := kingpin.Command("start", "Start application")
|
||||
startName := startCommand.Arg("name", "Application name").Required().String()
|
||||
startVerbose := startCommand.Flag("verbose", "Increase verbosity").Default("False").Bool()
|
||||
startQuiet := startCommand.Flag("quiet", "Less verbosity").Bool()
|
||||
|
||||
stopName := kingpin.Command("stop", "Stop application").Arg("name", "Application name").Required().String()
|
||||
dropName := kingpin.Command("drop", "Remove application data").Arg("name", "Application name").Required().String()
|
||||
|
@ -343,7 +343,7 @@ func main() {
|
|||
case "generate":
|
||||
generate(l, *generateName, *generateBin, *generateVMName)
|
||||
case "start":
|
||||
start(l, *startName, *startVerbose)
|
||||
start(l, *startName, !*startQuiet)
|
||||
case "stop":
|
||||
stop(l, *stopName)
|
||||
case "drop":
|
||||
|
|
Loading…
Reference in a new issue