Arguments
string
required
Path of the file on the session machine.
Options
string
required
The session machine to copy from.
string
Where to save the file. If the path is an existing directory, the file keeps
its original name inside it. Otherwise the CLI uses the path as the file name
and creates any missing parent directories.When omitted, the CLI saves the file under
MOMENTIC_ARTIFACTS_DIR if that
variable is set, or under <cwd>/.momentic-artifacts.Output
On success the command prints the local path it wrote and nothing else, so you can capture it in a script:Examples
Save a recording next to your test results:Notes
- The session machine must still exist. Download before you
mo archivethe session. downloadcopies a single file. To fetch a directory, ask Mo to zip it first.