mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
Refusals and help that need a person now say 'in a terminal without --no-input', as no_terminal_fetch and no_terminal_delete did: each message names the command to run, so the condition sits in it rather than being added by UI.Refused. size_pending is for a stopped VM; size_pending_running keeps the restart hint for a running one. setup's size question goes through a Reporter the tests make (msg.Fake). Co-Authored-By: Claude Opus 5.5 <[email protected]>
1.3 KiB
1.3 KiB
title, weight
| title | weight |
|---|---|
| devvm adopt | 2 |
Give this folder the VM made for an earlier folder or path
Synopsis
Give this folder the VM made for an earlier folder at this path, or for this folder before you moved or renamed it, with its files, secrets and allowlist. With VM, its name as devvm ls lists it, devvm moves that VM here from a folder that's gone, such as one you copied to another disk. devvm asks first in a terminal without --no-input.
devvm adopt [VM] [flags]
Examples
devvm adopt # give this folder the VM, after asking
devvm adopt --force # give it without asking, as a script must
devvm adopt devvm-web-71a99b1076d92c # move that VM here from a folder that's gone, after asking
Options
-f, --force don't ask to confirm, which devvm needs without a terminal or with --no-input
-h, --help help for adopt
Options inherited from parent commands
--no-input never ask, and fail where devvm would ask, naming the flag that answers it
-v, --verbose show the output of the commands devvm runs instead of a status line
Docs
The docs page for devvm adopt explains it in full.
See also
- devvm: Open a shell in this folder's VM, creating it first