Ejemplo n.º 1
0
 public void Process(IEnumerable<string> args, IWizard wizard)
 {
     var pattern = args.SingleOrDefault();
     if (pattern != null)
     {
         int count = wizard.Remove(pattern);
         this.Log.WriteLine(string.Format("{0} files removed", count));
     }
     else
     {
         this.Log.WriteError("Pattern is 'remove pattern'");
     }
 }