public void Process(IEnumerable<string> args, IWizard wizard) { var files = args.SingleOrDefault(); if (files != null) { int count = wizard.Add(files); this.Log.WriteLine(string.Format("{0} files added", count)); } else { this.Log.WriteError("Syntax is 'Add pattern'"); } }