Module cnf_lib::util::command_line

source ·
Expand description

Helpers for working with command lines.

Provides CommandLine and the accompanying macro cmd!, which abstract the trouble of assembling command lines for Environments. Most importantly, CommandLine offers an Environment-agnostic way of requesting privileges for command execution. This is useful when interacting with system package managers, for example, which often require root privileges for installation or updating caches.

See CommandLine::privileged for more information.

Macros

Structs