Skip to main content

CmdArgsLike

A value that can be put on a command line.

A string is one, and so are an artifact, which stands for its path, a cmd_args, a label, a RunInfo, and the other types that know how to add themselves to a command line. One value can be several arguments, as a cmd_args is. It is what cmd_args holds, and what a command or an environment variable of an action is made of.

A list is not one. cmd_args() and cmd_args.add() take lists as well, and copy the items out.

Implemented by​