Documentation
¶
Overview ¶
Package cli is agent-vm's command line. The commands and options are those of 0.2's agent-vm.sh, with the additions and changes of 0.3 in CHANGELOG.md (--scratch, install, info, code, exit status 2 for wrong usage...).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VMOpts ¶
type VMOpts struct {
Disk, Memory, CPUs int // 0: not given
SSHPort int // -1: not given; 0 gives the port back to Lima
Reset bool
ReadOnly bool
Scratch bool
UnsafeWritableGit bool
UnsafeNoPrompts bool
RM bool // --rm: delete the VM after the command
}
VMOpts are agent-vm's own options, for the commands that start a VM.