Bsdkrun.Args (bsdkrun_ex v0.1.0)

Copy Markdown View Source

Builds the full bsdkrun argv (minus the binary and global flags) for a detached create. Ported verbatim from the TypeScript SDK's args.ts; every path ends with -d so create yields a handle.

Options are given as a keyword list or map, discriminated on :os (:linux, :freebsd, :netbsd, :firmware, :kernel). See Bsdkrun.Sandbox.create/1 for the full set of per-kind keys.

Summary

Functions

Build the create argv (a list of strings) for the given options.

Functions

build_create(opts)

@spec build_create([keyword() | map()]) :: [String.t()]

Build the create argv (a list of strings) for the given options.