A utility command is a small command-line tool that can be invoked
via the Gallio.Utility.exe program.
Namespace:
Gallio.Runtime.UtilityCommandsAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public interface IUtilityCommand |
| Visual Basic (Declaration) |
|---|
Public Interface IUtilityCommand |
Remarks
An example utility command is the VerifyInstallation command which checks that the plugin configuration appears to be consistent.
The utility program provides a minor safety net in case the command throws an exception. Upon catching the exception the program will log it as a fatal error and terminate with a failure exit code. Of course, when a command throws an exception the problem should be interpreted as a programming error.
