CmdInvoker
A bound shell binary, produced by RunBuilder’s attribute dispatch.
Usage
CmdInvoker()Accessing r.<name> yields one of these for <name>; calling it appends the command. Positional arguments pass through verbatim. Keyword arguments become flags: depth="1" adds --depth 1, verbose=True adds --verbose, and a False value is dropped. Underscores in names become hyphens.
Parameter Attributes
builder: RunBuilderbinary: str
Example
r.git(“clone”, url, depth=“1”, recurse_submodules=True) … # git clone
–depth 1 –recurse-submodules