Skip to main content

Module volume_arg

Module volume_arg 

Source
Expand description

Parse --volume CLI entries for outrig run and outrig mcp.

Syntax: HOST:CONTAINER[:ro|rw]. Two segments use the default access (read-only, matching config-file [workspace.mounts]); a third segment, if present, must be exactly ro or rw. Host paths therefore cannot contain : – Windows drive-letter paths are unsupported, consistent with this being a Linux/podman tool.

Relative host paths are preserved verbatim here and resolved against the repo root / current directory at launch time, identically to config mounts.

Structs§

CliVolume
A parsed --volume HOST:CONTAINER[:ro|rw] bind mount.

Functions§

parse_volume
clap value_parser for --volume.