public Run ( Suite suite, string parameters ) : bool | ||
suite | Suite | The current suite model the command is applied to |
parameters | string | Parameters given to the command (in unprocessed form) |
return | bool |
public bool Run(Suite suite, string[] parameters)
{
if (parameters.Length == 1)
PackProduct(suite, parameters[0]);
else
throw new InvalidCommandParameterException("pack",
"The 'pack' command must be called with a product name!");
return true;
}