             }
             apps.forEach(self.terminate)
         }
-    }
-    func terminate(app:NSRunningApplication) {
-        print("Terminating \(app.bundleIdentifier ?? UnknownBundleID): \(app.processIdentifier) ...")
-        app.terminate()
-    }
-    func execute(arguments: CommandArguments) throws  {
     }
 }
 


    func execute(arguments: CommandArguments) throws  {
        let keyword = arguments.optionalArgument("keyword")
        let apps = NSWorkspace.sharedWorkspace().runningApplications
        var filtered = [NSRunningApplication]()
        if let keyword = keyword {
            let regex = try! NSRegularExpression(pattern: "\(keyword)", options: .CaseInsensitive)
            filtered = apps.filter{
                guard let bundle = $0.bundleIdentifier else {
                    return false
                }

                    options: NSMatchingOptions.WithTransparentBounds,
                    range: NSMakeRange(0, bundle.characters.count)).isEmpty
            }
        }
    }
}
