Optional
envThe environment to use when running the command. If unspecified, the environment of the current process is used.
If the desired environment will be a modification of the current environment, consider cloning process.env to avoid polluting the current environment.
The Node.js process.env documentation describes the environment object.
Optional
errThe callback to receive stderr data as it becomes available. If unspecified, no stderr callback is invoked. Refer to ConsoleDataHandler for implementation details.
Optional
noStops processing before actually running the command.
The CommandResult is returned with an exitCode of Number.NaN
.
The repositoryPath, exeName, and args properties may be examined.
Optional
outThe callback to receive stdout data as it becomes available. If unspecified, no stdout callback is invoked. Refer to ConsoleDataHandler for implementation details.
ApiOptions directs the behavior of easy-git-annex.